GHSA-mhp6-pxh8-r675

Suggest an improvement
Source
https://github.com/advisories/GHSA-mhp6-pxh8-r675
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-mhp6-pxh8-r675/GHSA-mhp6-pxh8-r675.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mhp6-pxh8-r675
Aliases
Published
2020-06-18T14:19:58Z
Modified
2026-09-10T03:49:25Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Angular vulnerable to Cross-site Scripting
Details

angular.js prior to 1.8.0 allows cross site scripting. The regex-based input HTML replacement may turn sanitized code into unsanitized one. Wrapping <option> elements in <select> ones changes parsing behavior, leading to possibly unsanitizing code.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-18T14:09:41Z",
    "nvd_published_at":  "2020-06-08T14:15:13Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / angular

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-mhp6-pxh8-r675/GHSA-mhp6-pxh8-r675.json"