VULNERABILITY INTELLIGENCE

CVE-2014-125128

CVSS score6.1 MEDIUM
EPSS probability0.27%
CISA KEVNot currently listed
Published2025-09-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

'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.

Weakness classification

  • 596c5446-0ce5-4ba2-aa66-48b3b757a647: CWE-79

Primary references