Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXYyanEtOTQ3NS1yNWc4

Cross-Site Scripting in bootstrap-tagsinput

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

Permalink: https://github.com/advisories/GHSA-v2jq-9475-r5g8
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXYyanEtOTQ3NS1yNWc4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 4 years ago
Updated: about 2 years ago


Identifiers: GHSA-v2jq-9475-r5g8, CVE-2016-1000227
References: Repository: https://github.com/bootstrap-tagsinput/bootstrap-tagsinput
Blast Radius: 0.0

Affected Packages

npm:bootstrap-tagsinput
Dependent packages: 28
Dependent repositories: 1,757
Downloads: 79,509 last month
Affected Version Ranges: <= 0.8.0
No known fixed version
All affected versions: 0.5.0, 0.6.1, 0.7.1