Cure53 vulnerabilities
37 vulnerabilities
Known vulnerabilities in Cure53 products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 1 product.
Products
1- Dompurify37 vulnerabilities
RoutineCVE-2026-144292cure53 · dompurify +96 moreDOMPurify SAFE_FOR_TEMPLATES bypass: nested <form> makes a template expression reassemble when sanitized output is reparsedDOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.5.0, DOMPurify.sanitize() with SAFE_FOR_TEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. A template engine that compiles the reparsed DOM can evaluate the reconstructed expression, allowing arbitrary JavaScript execution in the page origin. Plain unsplit template expressions remain scrubbed, and exploitation requires the sanitized output to be reparsed and compiled by a template engine. This issue is fixed in version 3.5.0.CVSS7.6HighEPSS1.17%RoutineCVE-2026-140391cure53 · dompurify +98 moreDOMPurify before 3.4.18 SAFE_FOR_TEMPLATES Bypass Leading to XSSDOMPurify before 3.4.18 contains a SAFE_FOR_TEMPLATES bypass that allows attackers to smuggle template expressions past sanitization using nested form elements or orphaned end tags. When the sanitized output is reparsed via innerHTML, split braces merge into live {{...}} expressions that Vue or AngularJS evaluate, executing attacker JavaScript in victims' browsers.CVSS6.1MediumEPSS0.51%RoutineCVE-2026-116804cure53 · dompurify +3 moreDOMPurify from 3.4.4 before 3.4.17 SAFE_FOR_TEMPLATES Bypass via Shadow Root ContentDOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve template expressions in attached shadow roots when using RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE modes. Attackers can split expressions across text nodes separated by disallowed elements, which merge after removal and are evaluated by downstream template engines for cross-site scripting.CVSS6.1MediumEPSS0.25%RoutineCVE-2026-116803cure53 · dompurify +3 moreDOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached SubtreesDOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.CVSS6.1MediumEPSS0.23%RoutineCVE-2026-116802cure53 · dompurify +3 moreDOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML ModeDOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to bypass the SMIL attributeName=href guard when PARSER_MEDIA_TYPE is application/xhtml+xml, because transformCaseFunc does not lowercase attribute names. Attackers can submit SVG with an animate or set element using attributeName="href" and a javascript: entry in values to execute script when users click the sanitized link.CVSS6.1MediumEPSS0.30%RoutineCVE-2026-109345cure53 · dompurify +3 moreDOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext RootDOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.CVSS6.1MediumEPSS0.25%RoutineCVE-2026-109344cure53 · dompurify +3 moreDOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize HooksDOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.CVSS6.1MediumEPSS0.19%RoutineCVE-2026-75838cure53 · dompurify +5 moreDOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hookDOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.CVSS5.1MediumEPSS0.39%RoutineCVE-2026-66010cure53 · dompurify +121 moreDOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLINGDOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.CVSS6.1MediumEPSS0.21%RoutineCVE-2026-65914cure53 · dompurify +21 moreDOMPurify before 3.3.2 Mutation XSS via Re-ContextualizationDOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript.CVSS6.1MediumEPSS0.21%RoutineCVE-2026-65913cure53 · dompurify +21 moreDOMPurify before 3.3.2 Prototype Pollution via USE_PROFILESDOMPurify before 3.3.2 contains a prototype pollution vulnerability in USE_PROFILES mode that allows attackers to bypass attribute filtering by polluting Array.prototype properties. Attackers can set Array.prototype properties like onclick to true, causing DOMPurify to accept event handlers as allowlisted attributes and resulting in DOM-based XSS when sanitized markup is rendered.CVSS6.1MediumEPSS0.19%RoutineCVE-2026-65912cure53 · dompurify +21 moreDOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTRDOMPurify 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.CVSS6.1MediumEPSS0.18%RoutineCVE-2026-65911cure53 · dompurify +2 moreDOMPurify before 3.4.0 XSS via ADD_ATTR/ADD_TAGS State LeakageIn 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 provides ADD_ATTR or ADD_TAGS as an array rather than a function, the previously set function handler is neither cleared nor overwritten, so it continues to approve attacker-controlled attributes or tags. This can allow dangerous event-handler attributes or forbidden tags (bypassing FORBID_TAGS) to survive sanitization, resulting in cross-site scripting. The vendor (Cure53) considers this an edge case outside DOMPurify's threat model; the referenced advisory lists 3.4.0 as the patched version.CVSS6.1MediumEPSS0.23%RoutineCVE-2026-65904cure53 · dompurify +2 moreDOMPurify before 3.4.4 Cross-Site Scripting via IN_PLACE modeDOMPurify 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 false for foreign-realm nodes, causing DOMPurify to stringify the element (yielding '[object HTMLDivElement]'), silently reset IN_PLACE to false, and return the unsanitized element unchanged with any XSS payloads intact.CVSS4.7MediumEPSS0.21%RoutineCVE-2026-65903cure53 · dompurify +50 moreDOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGSDOMPurify 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 ADD_TAGS function, causing them to be retained in sanitized output.CVSS6.1MediumEPSS4.13%RoutineCVE-2026-65902cure53 · dompurify +57 moreDOMPurify before 3.4.7 Hook Mutation Pollution via allowedTagsDOMPurify 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 without an explicit cfg.ALLOWED_TAGS / cfg.ALLOWED_ATTR array. A hook that mutates these fields permanently widens the default allow-lists for the lifetime of the DOMPurify instance, so all subsequent default-config sanitize calls inherit the widened defaults and attacker payloads using the poisoned tag/attribute name survive sanitization. removeAllHooks(), clearConfig(), and passing a fresh cfg do not recover the state; only constructing a new DOMPurify instance does.CVSS6.1MediumEPSS0.28%RoutineCVE-2026-65901cure53 · dompurify +57 moreDOMPurify 3.4.6 Cross-Site Scripting via IN_PLACE nodeNameDOMPurify 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 is clobbered to appear as allowed elements, causing scripts to execute when the sanitized tree is inserted into a live document.CVSS6.1MediumEPSS0.20%RoutineCVE-2026-65900cure53 · dompurify +57 moreDOMPurify before 3.4.8 Template Expression Injection via RETURN_DOMDOMPurify 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 <template> element content. The final normalization/scrub pass (_scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFE_FOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.CVSS6.1MediumEPSS0.22%RoutineCVE-2026-65899cure53 · dompurify +89 moreDOMPurify before 3.4.9 Trusted Types Policy State ContaminationDOMPurify 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.CVSS6.1MediumEPSS0.28%RoutineCVE-2026-65898cure53 · dompurify +88 moreDOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfigDOMPurify 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 dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.CVSS7.2HighEPSS0.21%