CVE-2012-2331
Status: ModifiedMedium (4.3)—💥 Exploit
Cross-site scripting (XSS) vulnerability in serendipity/serendipity_admin_image_selector.php in Serendipity before 1.6.1 allows remote attackers to inject arbitrary web script or HTML via the serendipity[textarea] parameter. NOTE: this issue might be resultant from cross-site request forgery (CSRF).
CVSS
- Version: 2.0
- Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N
- Base score: 4.3
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 4.68%
- Percentile among all scored CVEs: 92
- Score date: 10/6/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
💥 Public exploits
Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.
- Published on Exploit-DB · S9Y Serendipity 1.6 - 'Backend' Cross-Site Scripting / SQL Injection (5/8/2012)
Affected technologies (1)
CWEs
- CWE-79
References
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0037.html
- http://blog.s9y.org/archives/240-Serendipity-1.6.1-released.html
- http://secunia.com/advisories/49009
- http://www.koramis.com/advisories/2012/KORAMIS-ADV2012-001.txt
- http://www.openwall.com/lists/oss-security/2012/05/08/6
- http://www.openwall.com/lists/oss-security/2012/05/09/2
- http://www.rul3z.de/index.php?/214-KORAMISADV2012-001-Serendipity-1.6-Backend-Cross-Site-Scripting-and-SQL-Injection-vulnerability.html
- http://www.securityfocus.com/bid/53418
- https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0037.html
- http://blog.s9y.org/archives/240-Serendipity-1.6.1-released.html
- http://secunia.com/advisories/49009
- http://www.koramis.com/advisories/2012/KORAMIS-ADV2012-001.txt
- http://www.openwall.com/lists/oss-security/2012/05/08/6
- http://www.openwall.com/lists/oss-security/2012/05/09/2
- http://www.rul3z.de/index.php?/214-KORAMISADV2012-001-Serendipity-1.6-Backend-Cross-Site-Scripting-and-SQL-Injection-vulnerability.html
- http://www.securityfocus.com/bid/53418
- https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3
Raw JSON (NVD)
Show
{
"id": "CVE-2012-2331",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4.3,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2012-08-13T23:55:02.757",
"references": [
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2012-05/0037.html",
"source": "secalert@redhat.com"
},
{
"url": "http://blog.s9y.org/archives/240-Serendipity-1.6.1-released.html",
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/49009",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.koramis.com/advisories/2012/KORAMIS-ADV2012-001.txt",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/05/08/6",
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/05/09/2",
"source": "secalert@redhat.com"
},
{
"url": "http://www.rul3z.de/index.php?/214-KORAMISADV2012-001-Serendipity-1.6-Backend-Cross-Site-Scripting-and-SQL-Injection-vulnerability.html",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.securityfocus.com/bid/53418",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3",
"tags": [
"Exploit",
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2012-05/0037.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://blog.s9y.org/archives/240-Serendipity-1.6.1-released.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/49009",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.koramis.com/advisories/2012/KORAMIS-ADV2012-001.txt",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/05/08/6",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/05/09/2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.rul3z.de/index.php?/214-KORAMISADV2012-001-Serendipity-1.6-Backend-Cross-Site-Scripting-and-SQL-Injection-vulnerability.html",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/53418",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3",
"tags": [
"Exploit",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Cross-site scripting (XSS) vulnerability in serendipity/serendipity_admin_image_selector.php in Serendipity before 1.6.1 allows remote attackers to inject arbitrary web script or HTML via the serendipity[textarea] parameter. NOTE: this issue might be resultant from cross-site request forgery (CSRF)."
},
{
"lang": "es",
"value": "Una vulnerabilidad de ejecución de comandos en sitios cruzados (XSS) en Serendipity/serendipity_admin_image_selector.php en Serendipity antes de v1.6.1 permite a atacantes remotos inyectar secuencias de comandos web o HTML a través del parámetro serendipity[textarea]. NOTA: este problema podría ser resultante de una falsificación de solicitudes en sitios cruzados(CSRF).\r\n"
}
],
"lastModified": "2026-06-16T23:41:22.423",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:s9y:serendipity:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BCC3C0E3-1F0C-41AA-BE48-AB46CA35D4BE",
"versionEndIncluding": "1.6"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "62233D77-9838-48AB-9A2D-F4EAA9E237EB"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5A6F23BF-1C25-4A5E-9EC4-35A1A821A235"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "925A50B9-0CEF-42FF-8359-52BAFB4FEBB5"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.7.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C739BCD2-1722-42E0-9560-752DBBF05BC1"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B7515A9A-1FD0-484E-97CB-5969729804DB"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "40A451C0-D4D8-43FF-BFC9-E525138DCA37"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9E1F8976-0691-4C47-9BA3-BC01BA808BE3"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B2FF146-8CEF-48C8-81A3-08B4736DC27D"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5986FA95-D0F8-4E41-A445-F2F0EFEE872A"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.8.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "22A4B77F-67DC-4D25-8948-0C0B59C38E07"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.9:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E24AD8E2-AEB7-4D73-9B15-AE0B293A0825"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:0.9.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "47CE7E31-9C42-434E-B1B7-F38966514405"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7F5193D1-4BB6-4B2C-8361-BA1C7BE7524B"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B62B695-74A2-49AA-87EF-38F129A94755"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.0.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6D4ACB96-F32D-40E2-A9F3-A3CD78658C4F"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6B027CFC-5E0E-45D3-82BC-8F59F386D188"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A3C6CB12-9D14-4D5C-8FC0-02179436B487"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "23D55BCF-58D1-48D8-9BA2-2884F6126F8F"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.1.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "707176E4-B735-4A6A-AC7D-01250663D25D"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.1.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0132EF3F-F9D8-4CEC-A774-4929B4DE6E55"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.1.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E2217392-37F3-4CC6-85DE-33CB8841814F"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.1.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "706E7CF6-C396-4A19-B87C-05BA8C8D9EE9"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D0C422BF-FBDE-4DD2-BB55-868B19890479"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.2.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A1E92848-05FA-45EE-BD8A-98E337131892"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "96AD0492-E4D4-4A43-80EF-5F38F62DFF25"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.3.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B176479-5EFB-4943-801A-676B74C04DDA"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D68BD0B3-FB77-4288-93F4-2E018789D858"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.4.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0E6CE765-5EA9-4E38-8EB4-2913CEBE5F44"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.5.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "91A8DDF5-F344-4810-AAFA-31085CC8ED01"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.5.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8058BE3F-6C1E-4B6D-922D-909022D897CB"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.5.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1EE5B0BC-C4CC-4B2C-AF6F-44E1680316CF"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.5.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1DF273FA-FBAE-416B-A7C6-248A73796485"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.5.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0276D632-867C-47DF-B377-DCCA7A25030C"
},
{
"criteria": "cpe:2.3:a:s9y:serendipity:1.6.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F45A97DF-79AD-416A-A682-06264E077C5B"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}