CVE-2026-145568: rhukster dom-sanitizer 1.0.10 before 1.0.13 CSS Filter Bypass via image-set()
rhukster dom-sanitizer 1.0.10 before 1.0.13 contains a CSS filter bypass vulnerability in hasDangerousStyleContent() that allows attackers to retain external resource references by using image-set() or -webkit-image-set(). Attackers can submit HTML or SVG markup, such as SVG uploads, whose sanitized output makes viewers' browsers fetch attacker URLs, disclosing IP address, User-Agent, and viewing confirmation.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using rhukster dom-sanitizer versions 1.0.10 through before 1.0.13 are exposed when they sanitize attacker-controlled HTML or SVG that other users later view. SVG upload workflows are specifically an example of an affected input path.
What does an attacker need to exploit it?
The attacker needs to be able to submit HTML or SVG markup that is processed by the sanitizer and subsequently rendered in a viewer's browser. No authentication or special privileges are indicated, but user interaction is required because a victim must view the sanitized content.
What information can be exposed?
The attacker can cause the viewer's browser to fetch an attacker-controlled external URL. This can disclose the viewer's IP address, User-Agent, and confirmation that the content was viewed.
What should be done if an immediate upgrade is not possible?
Prevent untrusted HTML and SVG containing CSS image-set() or -webkit-image-set() references from being accepted or rendered. In particular, restrict or remove attacker-controlled style content and external resource references until updating to version 1.0.13.