Bug 2520361 - CVE-2026-65912 cachelib: DOMPurify: URI validation bypass leads to cross-site scripting [fedora-all]
Summary: CVE-2026-65912 cachelib: DOMPurify: URI validation bypass leads to cross-site...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cachelib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["c1e6b029-b965-4e40-bc75-0...
Depends On:
Blocks: CVE-FalsePositive-Unshipped CVE-2026-65912
TreeView+ depends on / blocked
 
Reported: 2026-08-20 14:52 UTC by Ganesh
Modified: 2026-08-21 21:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-21 21:08:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-08-20 14:52:53 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

DOMPurify before 3.3.2 contains a URI validation bypass vulnerability when ADD_ATTR is provided as a predicate function via EXTRA_ELEMENT_HANDLING.attributeCheck. Attackers can supply a predicate that accepts specific attribute and tag combinations to bypass URI-safe validation, allowing unsafe protocols like javascript: to survive sanitization and execute as DOM-based XSS when the link is activated.

Comment 1 Michel Lind 2026-08-21 21:08:42 UTC
This CVE is in a JavaScript/NodeJS package; the JavaScript here is not shipped in the binary RPMs.


Note You need to log in before you can comment on or make changes to this bug.