DHI-2w36-tq3b-glr5-b2tu
An issue in the `@angular/compiler` and `@angular/core` packages allows bypassing element and attribute…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- apicurio-registry-ui-3.2
Description
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). ### Impact Any Angular application that compiles user-controlled templates at runtime, or relies on sanitization of namespaced elements/attributes, is vulnerable to this security bypass. Once exploited, this allows a malicious actor to inject a namespaced script element or dynamic attribute bin
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-2w36-tq3b-glr5-b2tu advisory
- https://github.com/advisories/GHSA-f3m7-gqxr-g87x advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-50557 advisory
- https://github.com/angular/angular/security/advisories/GHSA-f3m7-gqxr-g87x advisory
- https://github.com/angular/angular/pull/68868 fix
- https://github.com/angular/angular/pull/68689 fix
- https://security-tracker.debian.org/tracker/CVE-2026-50557 advisory
- https://ubuntu.com/security/CVE-2026-50557 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-50557 advisory