Bug 2520522 - CVE-2026-65899 fbthrift: DOMPurify: Client-side arbitrary code execution due to improper Trusted Types policy reset [epel-all]
Summary: CVE-2026-65899 fbthrift: DOMPurify: Client-side arbitrary code execution due ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fbthrift
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["4b55b240-fa42-4bca-a12b-4...
Depends On:
Blocks: CVE-FalsePositive-Unshipped CVE-2026-65899
TreeView+ depends on / blocked
 
Reported: 2026-08-20 16:17 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 16:17:29 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 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY. A later caller that requests RETURN_TRUSTED_TYPE output receives a TrustedHTML object created by the old (potentially unsafe) policy rather than a clean default, which can lead to script execution at a Trusted Types sink. Passing TRUSTED_TYPES_POLICY: null on the later call also does not clear the retained policy.

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.