Description
Cross-site request forgery (CSRF) vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to hijack the authentication of administrators for requests that execute the XML validator on a local file via a crafted valider_xml request. NOTE: this issue can be combined with CVE-2016-7998 to execute arbitrary PHP code.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | spip | 3.1.3-1 | — |
| Debian 13 | spip | 3.1.3-1 | — |
| Debian 7 | spip | 2.1.17-1+deb7u6 | DLA-695-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | spip | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- SPIP 3.1.2 - Cross-Site Request Forgery EDB-40597 · webapps · Oct 20, 2016 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DLA-695-1 spip - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://sysdream.com/news/lab/2016-10-19-spip-3-1-2-exec-code-cross-site-request-forgery-cve-2016-7980/
- 93451 vdb-entry
- [oss-security] 20161012 CVE-2016-7980: SPIP 3.1.2 Exec Code Cross-Site Request Forgery mailing-list
- https://core.spip.net/projects/spip/repository/revisions/23203
- [oss-security] 20161006 Re: SPIP vulnerabilities: request for 5 CVE mailing-list
- [oss-security] 20161005 SPIP vulnerabilities: request for 5 CVE mailing-list
- https://core.spip.net/projects/spip/repository/revisions/23202
- https://core.spip.net/projects/spip/repository/revisions/23201