6.1Medium

CVE-2014-125128

sanitize-html Published: (1 year ago)

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 (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
apostrophecms sanitize-html < 1.0.3
— sanitize-html < 1.0.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* < 1.0.3