Live threats

All CVEs / Punkave

CVE-2017-16016Punkave Sanitize-html

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Jun 4, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Sanitize-html is a library for scrubbing html input of malicious values. Versions 1.11.1 and below are vulnerable to cross site scripting (XSS) in certain scenarios: If allowed at least one nonTextTags, the result is a potential XSS vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sanitize-html.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm sanitize-html < 1.11.4 1.11.4 npm install sanitize-html@1.11.4

Per OSV / GitHub Advisories (GHSA-xc6g-ggrc-qq4r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
punkavesanitize-html≤ 1.11.1

Official sources

References

Links published by the sources. Open them with care.