PoC Index

CVE-2014-125128

MEDIUM 6.1EPSS 0.3%

'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in anchor tags (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.

CVSS v3.1
6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.27% chance of exploitation in the next 30 days, 19th percentile
Published
2025-09-08

Proof-of-concept exploits (1)

References

Related