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

High 7.1 Published Updated

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.

PackageAffectedFixed in
angular npmAll versions1.5.0-beta.1
angular npmAll versions1.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.

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.

Is CVE-2019-14863 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free