What’s Vulnerable › Vulnerabilities

CVE-2014-125128

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

How to fix

Upgrade to a fixed version: apostrophecms sanitize-html 1.0.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2014-125128 or the next vulnerability affects your stack