GitHub Advisoryadvisory · npm
GHSA-r5fx-8r73-v86c AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes
MEDIUM
Official page ↗
- Aliases
- CVE-2019-14863
- Ecosystem
- npm
- Packages
- angular
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-02-13
Affected packages
• npm angular: < 1.5.0-beta.1 → fixed in 1.5.0-beta.1
Description
Versions of `angular` prior to 1.5.0-beta.1 are vulnerable to Cross-Site Scripting. The package fails to sanitize `xlink:href` attributes, which may allow attackers to execute arbitrary JavaScript in a victim's browser if the value is user-controlled.
Recommendation
Upgrade to version 1.5.0-beta.1 or later.
Related
Alias · CVE (1)
- CVE-2019-14863 There is a vulnerability in all angular versions before 1.5.0-beta.0, where after escaping the context of the web application, the web… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14863 advisory
- https://github.com/angular/angular.js/pull/12524 web
- https://github.com/angular/angular.js/commit/35a21532b73d5bd84b4325211c563e6a3e2dde82 web
- https://github.com/angular/angular.js/commit/f33ce173c90736e349cf594df717ae3ee41e0f7a web
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14863 web
- https://github.com/angular/angular.js package
- https://snyk.io/vuln/npm:angular:20150807 web
- https://www.npmjs.com/advisories/1453 web