CVE-2023-34840 angular-ui-notification Cross-site Scripting vulnerability

Medium 6.1 Published Updated

An XSS vulnerability in the angular-ui-notification library allows attackers to inject malicious scripts into web pages.

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
None listed

What is CVE-2023-34840?

CVE-2023-34840 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Jun 2023. 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

angular-ui-notification v0.1.0, v0.2.0, and v0.3.6 was discovered to contain a cross-site scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2023-34840?

2 open source packages ship an affected version, including angular-ui-notification. It affects 1 product.

PackageAffectedFixed in
angular-ui-notification npmFrom 0.1.0 to 0.3.6None
angular-ui-notification npmFrom 0.1.0 to 0.3.6None

Products include Angular-Ui-Notification Project Angular-Ui-Notification.

How do I fix CVE-2023-34840?

No fix has been published for CVE-2023-34840 yet. Limit exposure of the affected software until one is available.

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-2023-34840 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34840 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-mrcj-5qxr-vhp2.

Is CVE-2023-34840 in your software?

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

Check your SBOMs for free