Patch Ticker
EnglishEN
Urgent

XSLWeb unzip function lets files be written outside the folder (Zip Slip)

CVE-2026-139872

A web-building framework where attackers can change server files and take over!

CVE
CVE-2026-139872 (opens in a new tab)
Score
CVSS 9.2
Public date
2026-05-26
First seen
9.2
Products

Mitigation

There is no fix yet. Build from the latest master branch, or apply path-checking code to the unzip step in your application. No source names a fixed version yet.

Summary

The unzip XPath extension function in XSLWeb (ZipUtils.unzipStream) does not check archive entry paths, so an attacker can write files outside the extraction folder. An attacker can overwrite XSLT stylesheets and reach remote code execution; all published versions through 4.2.0 are affected.

Affected when

Visitor-uploaded ZIP files are extracted with xslweb:unzip()

Incidents by product: XSLWeb

All Incidents of 2026-12-01

Read the write-up · re-sync.nl (opens in a new tab)