CVE-2016-7981 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via the var_url parameter in SPIP's valider_xml.php, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-7981?
CVE-2016-7981 is a medium-severity cross-site scripting vulnerability in Spip Spip, published on 18 Jan 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to inject arbitrary web script or HTML via the var_url parameter in a valider_xml action.
Weakness: CWE-79
Which versions are affected by CVE-2016-7981?
It affects 1 product.
Products include Spip Spip.
How do I fix CVE-2016-7981?
Upgrade to a fixed version.
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-2016-7981 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-7981 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Spip Spip
Sources
Also known as DEBIAN-CVE-2016-7981, GHSA-9pfr-grw4-7phc, UBUNTU-CVE-2016-7981.