Description
xslt.c in XML Security Library (aka xmlsec) before 1.2.17, as used in WebKit and other products, when XSLT is enabled, allows remote attackers to create or overwrite arbitrary files via vectors involving the libxslt output extension and a ds:Transform element during signature verification.
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 | xmlsec1 | 1.2.14-1.1 | — |
| Debian 13 | xmlsec1 | 1.2.14-1.1 | — |
| Debian 12 | xmlsec1 | 1.2.14-1.1 | — |
| Debian 6.0 | xmlsec1 | 1.2.14-1+squeeze1 | DSA-2219-1 |
| Debian 5.0 | xmlsec1 | 1.2.9-5+lenny1 | DSA-2219-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | xmlsec1 +7 | 1.2.9-8.1.2 | RHSA-2011:0486 |
| RHEL 4 | xmlsec1 +3 | 1.2.6-3.2 | RHSA-2011:0486 |
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
- Apple Safari Webkit - libxslt Arbitrary File Creation (Metasploit) EDB-17993 · remote · Oct 18, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2011:0486 Red Hat Security Advisory: xmlsec1 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2219-1 xmlsec1 - file overwrite Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=692133
- ADV-2011-0855 vdb-entry
- 1025284 vdb-entry
- DSA-2219 vendor-advisory
- MDVSA-2011:063 vendor-advisory
- 47135 vdb-entry
- http://trac.webkit.org/changeset/79159
- ADV-2011-1010 vdb-entry
- [xmlsec] 20110331 New xmlsec 1.2.17 release mailing-list
- 44423 third-party-advisory
- http://git.gnome.org/browse/xmlsec/commit/?id=2d5eddcc4163ea050cf3a3a1a25452bb5124f780
- RHSA-2011:0486 vendor-advisory
- http://git.gnome.org/browse/xmlsec/commit/?id=35eaacde6093d6711339754fc2146341b8b9f5fa
- ADV-2011-1172 vdb-entry
- 44167 third-party-advisory
- 43920 third-party-advisory
- https://bugs.webkit.org/show_bug.cgi?id=52688
- ADV-2011-0858 vdb-entry
- xmlsecurity-xmlfiles-sec-bypass(66506) vdb-entry