CVE-2019-14863 AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes
An attacker can inject malicious scripts into web applications using vulnerable Angular versions, leading to potential code execution in the user's browser.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-14863?
CVE-2019-14863 is a high-severity cross-site scripting vulnerability in Red Hat angular:, published on 2 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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 application delivers data to its users along with other trusted dynamic content, without validating it.
Weakness: CWE-79
Which versions are affected by CVE-2019-14863?
2 open source packages ship an affected version, including angular. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
angular npm | All versions | 1.5.0-beta.1 |
angular npm | All versions | 1.5.0-beta.1 |
Products include Angularjs Angularjs, Redhat Decision Manager, Redhat Process Automation.
How do I fix CVE-2019-14863?
Upgrade angular to 1.5.0-beta.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-14863 being exploited?
There is no known exploitation of CVE-2019-14863 in the wild and no public exploit code.
Other vulnerabilities in Red Hat angular:
- CVE-2019-10768 angular Prototype Pollution vulnerability
- CVE-2020-7676 Angular vulnerable to Cross-site Scripting
- CVE-2023-26116 angular vulnerable to regular expression denial of service via the angular.copy() utility
- CVE-2023-26117 angular vulnerable to regular expression denial of service via the $resource service
- CVE-2023-26118 angular vulnerable to regular expression denial of service via the <input type="url"> element
Sources
Also known as DEBIAN-CVE-2019-14863, DLA-1995-1, GHSA-r5fx-8r73-v86c, ROOT-APP-NPM-CVE-2019-14863, UBUNTU-CVE-2019-14863.