CVE-2012-2331 s9y serendipity: Cross-site Scripting
s9y serendipity: no CVSS score yet. EPSS 4.7% estimated probability of exploitation activity in the next 30 days.
On this page
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).
- EPSS
- 4.7% (unchanged from 4.7% a week ago; 4.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Patch: https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3
- Vendor advisory: http://secunia.com/advisories/49009
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-2331 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-2331?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-2331?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-2331 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| s9y:serendipity | through 1.6 |
| s9y:serendipity | 0.3 |
| s9y:serendipity | 0.4 |
| s9y:serendipity | 0.7 |
| s9y:serendipity | 0.7.1 |
| s9y:serendipity | 0.8 |
| s9y:serendipity | 0.8.1 |
| s9y:serendipity | 0.8.2 |
| s9y:serendipity | 0.8.3 |
| s9y:serendipity | 0.8.4 |
| s9y:serendipity | 0.8.5 |
| s9y:serendipity | 0.9 |
| s9y:serendipity | 0.9.1 |
| s9y:serendipity | 1.0 |
| s9y:serendipity | 1.0.1 |
| s9y:serendipity | 1.0.2 |
| s9y:serendipity | 1.0.3 |
| s9y:serendipity | 1.0.4 |
| s9y:serendipity | 1.1 |
| s9y:serendipity | 1.1.1 |
| s9y:serendipity | 1.1.2 |
| s9y:serendipity | 1.1.3 |
| s9y:serendipity | 1.1.4 |
| s9y:serendipity | 1.2 |
| s9y:serendipity | 1.2.1 |
| s9y:serendipity | 1.3 |
| s9y:serendipity | 1.3.1 |
| s9y:serendipity | 1.4 |
| s9y:serendipity | 1.4.1 |
| s9y:serendipity | 1.5.1 |
| s9y:serendipity | 1.5.2 |
| s9y:serendipity | 1.5.3 |
| s9y:serendipity | 1.5.4 |
| s9y:serendipity | 1.5.5 |
| s9y:serendipity | 1.6.1 |
Public exploits
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- https://github.com/s9y/Serendipity/commit/264bf55719baacc069ff9d3cc35f0c349cde11e3
- http://secunia.com/advisories/49009
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0037.html
- http://blog.s9y.org/archives/240-Serendipity-1.6.1-released.html
- 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