p PatchFirst

CVE-2014-125128

CVE-2014-125128

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 6.1 · Medium · EPSS 0.3%

Published
Updated

Stack: system

Affected products and versions

  • node-sanitize-html Ubuntu:22.04:LTS

    Versions
    • 2.6.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-sanitize-html Ubuntu:24.04:LTS

    Versions
    • 2.8.0+~2.6.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-sanitize-html Ubuntu:25.10

    Versions
    • 2.14.0+~2.13.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-sanitize-html Ubuntu:26.10

    Versions
    • 2.14.0+~2.13.0-1
    • 2.17.0+~2.16.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-sanitize-html Ubuntu:26.04:LTS

    Versions
    • 2.14.0+~2.13.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →