Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sanitize-html
  4. ›
  5. GMS-2016-57

GMS-2016-57: XSS - Sanitization not applied recursively

August 1, 2016

Sanitization of HTML strings is not applied recursively to input, allowing an attacker to potentially inject script and other markup.

References

  • github.com/punkave/sanitize-html/commit/762fbc7bba389f3f789cc291c1eb2b64f60f2caf
  • github.com/punkave/sanitize-html/issues/29

Code Behaviors & Features

Detect and mitigate GMS-2016-57 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.4.2

Fixed versions

  • 1.4.3

Solution

Upgrade to 1.4.3 or later

Source file

npm/sanitize-html/GMS-2016-57.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:51 +0000.