VYPR
Moderate severityNVD Advisory· Published Jun 30, 2023· Updated Nov 27, 2024

CVE-2023-34840

CVE-2023-34840

Description

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Angular-ui-notification 0.1.0-0.3.6 has a stored/reflected XSS via unsanitized HTML in notification messages.

Overview

Angular-ui-notification versions 0.1.0, 0.2.0, and 0.3.6 contain a cross-site scripting (XSS) vulnerability. The library does not sanitize user input when constructing notification messages, allowing arbitrary HTML and script injection [1][3].

Exploitation

Any user-controlled data passed to the message parameter of the notification service is rendered directly in the DOM without encoding. An attacker can supply a payload such as ` that executes in the context of the application [3]. The vulnerability is triggered whenever an application uses Notification, Notification.success`, or similar methods with unsanitized input [2][3].

Impact

Successful exploitation enables an attacker to execute arbitrary JavaScript in the victim's browser, potentially leading to session hijacking, data theft, or other client-side attacks [1][3].

Mitigation

The project appears unmaintained. Users are advised to either sanitize input themselves before calling the notification methods or switch to an alternative maintained library [3].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
angular-ui-notificationnpm
>= 0.1.0, <= 0.3.6

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.