GHSA-rf66-hmqf-q3fc

Suggest an improvement
Source
https://github.com/advisories/GHSA-rf66-hmqf-q3fc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rf66-hmqf-q3fc/GHSA-rf66-hmqf-q3fc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rf66-hmqf-q3fc
Aliases
Published
2022-05-14T01:14:56Z
Modified
2023-11-08T03:58:21.390626Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Improper Neutralization of Input During Web Page Generation in Select2
Details

In Select2 through 4.0.5, as used in Snipe-IT and other products, rich selectlists allow XSS. This affects use cases with Ajax remote data loading when HTML templates are used to display listbox data.

Database specific
{
    "nvd_published_at": "2019-03-27T04:29:00Z",
    "github_reviewed_at": "2022-07-06T20:04:29Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

npm / select2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.6