CVE-2025-48050

NameCVE-2025-48050
DescriptionIn DOMPurify through 3.2.5 before 6bc6d60, scripts/server.js does not ensure that a pathname is located under the current working directory. NOTE: the Supplier disputes the significance of this report because the "Uncontrolled data used in path expression" occurs "in a development helper script which starts a local web server if needed and must be manually started."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-dompurify (PTS)bookworm2.4.1+dfsg+~2.4.0-2+deb12u1vulnerable
bookworm (security)2.4.1+dfsg+~2.4.0-2vulnerable
sid, trixie3.1.7+dfsg+~3.0.5-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-dompurifysource(unstable)(unfixed)unimportant

Notes

https://github.com/odaysec/advisory/blob/main/cure53/DOMPurify/writeup.md
https://github.com/cure53/DOMPurify/pull/1101
https://github.com/cure53/DOMPurify/commit/e9afd609397aa31b0747a766504f698fcb6ad0f7
Testserver (scripts/server.js) not installed into binary package

Search for package or bug name: Reporting problems