Advisories

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

Go back
Severity
medium
Date
Affecting
  • dom-sanitizer >= 1.0.10, < 1.0.13

CWE
  • CWE-184 Incomplete List of Disallowed Inputs
CVSS
5.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
Vectrain51
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.