Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bootstrap-tagsinput
  4. ›
  5. GMS-2020-708

GMS-2020-708: Cross-Site Scripting in bootstrap-tagsinput

September 1, 2020 (updated September 23, 2021)

All versions of bootstrap-tagsinput are vulnerable to cross-site scripting when user input is passed into the itemTitle parameter unmodified, as the package fails to properly sanitize or encode user input for that parameter.

Recommendation

This package is not actively maintained, and has not seen an update since 2015.

Because of this, the simplest mitigation is to avoid using the itemTitle parameter. With over 200 open issues and over 100 open pull requests as of 2/2018, it seems unlikely that the author has any intention of maintaining the module. If avoiding the use of itemTitle indefinitely is acceptable, this is a workable solution. If not, the best available mitigation is to use a fork of the module that is actively maintained and provides similar functionality. There are many such forks to choose from available on github..

References

  • github.com/advisories/GHSA-v2jq-9475-r5g8
  • github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/501
  • nvd.nist.gov/vuln/detail/CVE-2016-1000227
  • www.npmjs.com/advisories/124

Code Behaviors & Features

Detect and mitigate GMS-2020-708 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 0.8.0

Solution

Unfortunately, there is no solution available yet.

Source file

npm/bootstrap-tagsinput/GMS-2020-708.yml

Spotted a mistake? Edit the file on GitLab.

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

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