CVE-2014-125128

MEDIUM

sanitize-html < 1.0.3 - Cross-Site Scripting via Improper Href Attribute Validation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.1
EPSS 0.0026
EPSS Percentile 16.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (1)
apostrophecms/sanitize-html < 1.0.3
Published Sep 08, 2025
Tracked Since Feb 18, 2026