Cure53

Dompurify

35 Schwachstellen gefunden.

Hinweis: Diese Liste kann unvollständig sein. Daten werden ohne Gewähr im Ursprungsformat bereitgestellt.
Exploit
  • EPSS 0.19%
  • Veröffentlicht 23.07.2026 13:16:22
  • Zuletzt bearbeitet 24.10.2026 13:10:00

In DOMPurify through 3.3.3, function predicates supplied via ADD_ATTR or ADD_TAGS to DOMPurify.sanitize() persist in internal state (EXTRA_ELEMENT_HANDLING) across subsequent sanitize() calls on the same instance. If a later call on the same instance...

Exploit
  • EPSS 0.17%
  • Veröffentlicht 23.07.2026 13:16:22
  • Zuletzt bearbeitet 20.11.2026 15:17:55

DOMPurify before 3.4.4 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's contentDocument). A cross-realm instanceof check in the private _isNode() function returns fal...

Exploit
  • EPSS 0.2%
  • Veröffentlicht 23.07.2026 13:16:21
  • Zuletzt bearbeitet 24.10.2026 13:10:00

DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via AD...

Exploit
  • EPSS 0.21%
  • Veröffentlicht 23.07.2026 13:16:20
  • Zuletzt bearbeitet 29.10.2026 21:17:29

DOMPurify before 3.4.7 passes direct references to the module-level DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags / data.allowedAttributes when sanitize is called wi...

Exploit
  • EPSS 0.17%
  • Veröffentlicht 23.07.2026 13:16:19
  • Zuletzt bearbeitet 24.10.2026 13:10:00

DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts attacker-controlled nodeName on live non-form nodes. Attackers can supply hostile live DOM objects with real script children whose observable nodeName ...

Exploit
  • EPSS 0.18%
  • Veröffentlicht 23.07.2026 13:16:19
  • Zuletzt bearbeitet 24.10.2026 13:10:00

DOMPurify versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <templat...

Exploit
  • EPSS 0.23%
  • Veröffentlicht 23.07.2026 13:16:18
  • Zuletzt bearbeitet 24.10.2026 13:10:00

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...

Exploit
  • EPSS 0.17%
  • Veröffentlicht 23.07.2026 13:16:17
  • Zuletzt bearbeitet 24.10.2026 13:10:00

DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dange...

Exploit
  • EPSS 0.33%
  • Veröffentlicht 14.07.2026 20:02:46
  • Zuletzt bearbeitet 24.10.2026 21:10:00

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as...

Exploit
  • EPSS 0.3%
  • Veröffentlicht 14.07.2026 20:01:44
  • Zuletzt bearbeitet 24.10.2026 21:10:00

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-controlled <form> root when a descendant name clobbe...