# CVE-2026-65912: DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-04-03T03:46:07.000Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-cjmm-f4jc-qw8r
- Weaknesses: CWE-79, CWE-183
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- cure53 DOMPurify: before 3.3.2 (not affected: 3.3.2)
- dompurify (npm): before 3.3.2

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8r> (third-party-advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-add-attr> (third-party-advisory)
- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/3.3.2> (web)

## Sources

- CVE List: [CVE-2026-65912](https://www.cve.org/CVERecord?id=CVE-2026-65912), CVE Terms of Use, modified 2026-07-23
- GitHub Advisory Database: [GHSA-cjmm-f4jc-qw8r](https://github.com/advisories/GHSA-cjmm-f4jc-qw8r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-65912](https://nvd.nist.gov/vuln/detail/CVE-2026-65912), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65912 · Whole record: https://cve.day/CVE-2026-65912.json · Rebuilt by cve.day 2026-11-25T22:59:29.930Z
