CVE-2012-2331 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via the textarea parameter in the image selector, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-2331?
CVE-2012-2331 is a medium-severity cross-site scripting vulnerability in S9y Serendipity, published on 13 Aug 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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).
Weakness: CWE-79
Which versions are affected by CVE-2012-2331?
It affects 1 product.
Products include S9y Serendipity.
How do I fix CVE-2012-2331?
No fix has been published for CVE-2012-2331 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2012-2331 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2331 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in S9y Serendipity
Sources
Also known as GHSA-q35v-wxvc-p575.