CVE-2012-4901 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script via the themes_editor parameter in the admin interface, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-4901?
CVE-2012-4901 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 May 2015. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Cross-site scripting (XSS) vulnerability in Template CMS 2.1.1 and earlier allows remote attackers to inject arbitrary web script or HTML via the themes_editor parameter in an add_template action to admin/index.php.
Weakness: CWE-79
Which versions are affected by CVE-2012-4901?
It affects 1 product.
Products include Template Cms Project Template Cms.
How do I fix CVE-2012-4901?
No fix has been published for CVE-2012-4901 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-4901 being exploited?
There is no known exploitation of CVE-2012-4901 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8vhv-r72q-4rpj.