VDB

CVE-2014-125128

CVE-2014-125128 PUBLISHED CVSS 6.1 MEDIUM

Reported by checkmarx · Published September 8, 2025

sanitize-html is fixed in 1.0.3 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sanitize-htmlnpm1.0.3
sanitize-htmlapostrophecms1.0.3

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
0
0

Timeline

  • Sep 8, 2025 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Published
  • Sep 8, 2025 PoC Published
  • Sep 8, 2025 CVE Updated
  • Apr 2, 2026 Security Advisory
  • Oct 20, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2014-125128
vulnetix vdb fixes CVE-2014-125128

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-125128/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • issue-tracking
  • patch
  • patch
  • exploit
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›