Vulnerability

CVE-2014-125128

mediumCVSS 3.1 6.1Published 8 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Apostrophecms sanitize-html

Weakness type

References

  • github.com /Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014…
  • github.com /apostrophecms/sanitize-html/commit/423b90e06e1e85245ecceda…
  • github.com /apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb…
  • github.com /apostrophecms/sanitize-html/issues/1

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning