AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | angular | < 1.5.0-beta.1 | 1.5.0-beta.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14863
- https://github.com/angular/angular.js/pull/12524
- https://github.com/angular/angular.js/commit/35a21532b73d5bd84b4325211c563e6a3e2dde82
- https://github.com/angular/angular.js/commit/f33ce173c90736e349cf594df717ae3ee41e0f7a
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14863
- https://github.com/angular/angular.js
- https://snyk.io/vuln/npm:angular:20150807
- https://www.npmjs.com/advisories/1453
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
angular- Disclosed
- 14.02.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-r5fx-8r73-v86c - CC BY 4.0
Vulnerability history: angular
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 06.2019 06.2026
- Without a fix
- 10
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 9
- Low 3
Disclosures per year
- 2019: 2
- 2020: 3
- 2021: 0
- 2022: 2
- 2023: 3
- 2024: 3
- 2025: 1
- 2026: 1
-
AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.