Skip to content

AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes

Moderate severity GitHub Reviewed Published Feb 14, 2020 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm angular (npm)

Affected versions

< 1.5.0-beta.1

Patched versions

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.

References

Published by the National Vulnerability Database Jan 2, 2020
Reviewed Feb 13, 2020
Published to the GitHub Advisory Database Feb 14, 2020
Last updated Jan 27, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2019-14863

GHSA ID

GHSA-r5fx-8r73-v86c

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.