cvelo
P3 · MediumCVSS 4.3

rhukster dom-sanitizer 1.0.10 before 1.0.13 CSS Filter Bypass via image-set()

  • CVE-2026-145568
  • EUVD-2026-145710

Summary

The rhukster dom-sanitizer library, versions 1.0.10 before 1.0.13, has a CSS filter bypass in its hasDangerousStyleContent() check. Attackers can use image-set() or -webkit-image-set() in styles to keep external resource references that the sanitizer should have removed. When attackers submit HTML or SVG markup, such as SVG uploads, the sanitized output can cause viewers' browsers to fetch attacker-controlled URLs. This discloses the viewer's IP address, User-Agent, and confirms that the content was viewed. The CVSS score is 4.3, and the record does not list the issue as known exploited. Teams using affected versions should plan to upgrade to 1.0.13 or later.

AI summary · verify against the vendor advisory

Description

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.

Text from the CVE.org record.

Recommendation

  • rhukster dom-sanitizer

    • If you run 1.0.xupdate to 1.0.13 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • rhukster dom-sanitizer

    Affected versionsFixed in
    from 1.0.10 to before 1.0.131.0.13

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.