CVE-2014-125128

Published Sep 8, 2025

Last updated 5 months ago

Overview

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.
Source
596c5446-0ce5-4ba2-aa66-48b3b757a647
NVD status
Analyzed
Products
sanitize-html

Risk scores

CVSS 3.1

Type
Secondary
Base score
6.1
Impact score
2.7
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity
MEDIUM

Weaknesses

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

Social media

Hype score
Not currently trending

Configurations