
CVE catalog
CVE-2026-50557
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22 and 19.2.22, an issue in the
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 25, 2026
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22 and 19.2.22, an issue in the @angular/compiler and @angular/core packages allows bypassing element and attribute sanitization/validation through specific namespace workarounds. Specifically, namespaced script elements (e.g., <svg:script> or <:svg:script>) were not properly identified as script elements by the Angular template preparser, allowing them to pass through template compilation without being stripped. Furthermore, security context schema mappings for element attributes did not consistently handle attributes within namespaced elements (like SVG and MathML), opening up gaps where malicious namespaced attributes could bypass runtime and compile-time sanitizers. Combined, these flaws enable an attacker who can inject or supply a template/tag structure with custom namespaces to bypass Angular's script-stripping logic and attribute sanitizers, leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22 and 19.2.22.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | angular.js | sid | 1.8.3-3 | unknown |
| Debian | angular.js | trixie | 1.8.3-3 | unknown |
| Debian | angular.js | bookworm | 1.8.3-1+deb12u1 | unknown |
| Cpe | angular.js | Not reported | Not reported | vulnerable |
| Cpe | angular | Not reported | Not reported | unknown |
| Cpe | angular | Not reported | 19.2.22 | fixed |
| Cpe | angular | Not reported | 20.3.22 | fixed |
| Cpe | angular | Not reported | 21.2.15 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | angular.js | source | sid | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | angular.js | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | angular.js | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | angular | cpe | Not reported | 19.2.22 | Not reported | Not reported | Not reported |
| Cpe | angular | cpe | Not reported | 20.3.22 | Not reported | Not reported | Not reported |
| Cpe | angular | cpe | Not reported | 21.2.15 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-angularjs]Affected
Source package: [angular.js]
Details (2)
1.8.3-1+deb12u1· all · bookwormAffected
nvd · angular.js · debian · bookworm; nvd · angular.js · debian · 12
1.8.3-1+deb12u1· all · bookwormAffected
nvd · angular.js · debian · bookworm; nvd · angular.js · debian · 12
[Debian 13 (Trixie)]
- [libjs-angularjs]Affected
Source package: [angular.js]
Details (2)
1.8.3-3· all · trixieAffected
nvd · angular.js · debian · 13
1.8.3-3· all · trixieAffected
nvd · angular.js · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-50557]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-50557]
- [https://security-tracker.debian.org/tracker/CVE-2026-50557]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50557.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1930.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]