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

GMS-2014-17: Cross Site Scripting

July 17, 2014

sanitize-html will merge an incomplete attribute like SRC= with the next attribute. While the result is not valid HTML it may be misinterpreted by the browser.

References

  • github.com/punkave/sanitize-html/issues/19
  • github.com/punkave/sanitize-html/pull/20

Code Behaviors & Features

Detect and mitigate GMS-2014-17 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.2.2

Fixed versions

  • 1.2.3

Solution

Upgrade to version 1.2.3 or later.

Source file

npm/sanitize-html/GMS-2014-17.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:03 +0000.