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.
| Package | Affected versions | Patched versions |
|---|---|---|
angular-ui-notificationnpm | >= 0.1.0, <= 0.3.6 | — |
Affected products
3- angular-ui-notification/angular-ui-notificationdescription
- Range: = 0.1.0, 0.2.0, 0.3.6
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-mrcj-5qxr-vhp2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-34840ghsaADVISORY
- alexcrack.comghsaWEB
News mentions
0No linked articles in our index yet.