CVE-2026-41238
Last modified
CVE-2026-41238 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions 3.0.1 through 3.3.3 are vulnerable to a prototype pollution-based XSS bypass. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions 3.0.1 through 3.3.3 are vulnerable to a prototype pollution-based XSS bypass. When an application uses `DOMPurify.sanitize()` with the default configuration (no `CUSTOM_ELEMENT_HANDLING` option), a prior prototype pollution gadget can inject permissive `tagNameCheck` and `attributeNameCheck` regex values into `Object.prototype`, causing DOMPurify to allow arbitrary custom elements with arbitrary attributes — including event handlers — through sanitization. Version 3.4.0 fixes the issue.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-41238?
How severe is CVE-2026-41238?
How do I fix CVE-2026-41238?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-41232Froxlor is open source server administration software. Prior…5
- CVE-2026-41233Froxlor is open source server administration software. Prior…5.4
- CVE-2026-41234Froxlor is open source server administration software. Prior…7.6
- CVE-2026-41235Froxlor is open source server administration software. Versi…8.6
- CVE-2026-41236Froxlor is open source server administration software. Versi…8.8
- CVE-2026-41237Froxlor is open source server administration software. In ve…8.6
- CVE-2026-41239DOMPurify is a DOM-only cross-site scripting sanitizer for H…6.8
- CVE-2026-4124The Ziggeo plugin for WordPress is vulnerable to Missing Aut…5.4
- CVE-2026-41240DOMPurify is a DOM-only cross-site scripting sanitizer for H…6.1
- CVE-2026-41241pretalx is a conference planning tool. Prior to 2026.1.0, Th…5.4
- CVE-2026-41242protobufjs compiles protobuf definitions into JavaScript (JS…9.8
- CVE-2026-41243OpenLearn is open-source educational forum software. Prior t…5.4
Are you affected by CVE-2026-41238?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
