6.1

CVE-2026-50557: Angular: Template and Attribute Namespace Sanitization Bypass (XSS)

Analyzed
AliasesUBUNTU-CVE-2026-50557DEBIAN-CVE-2026-50557CGA-24hg-g6w3-37r3
Published 22-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-50557 is a medium (CVSS 6.1) vulnerability in angular. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · -0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Decrease -0.17 pp

From 0.41% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded) | < 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
Wolfi10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded) | < 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
@angular2 products
  • compiler≥ 21.0.0-next.0, < 21.2.15 | ≥ 22.0.0-next.0, < 22.0.0-rc.2 | ≥ 20.0.0-next.0, < 20.3.22 | ≥ 19.0.0-next.0, < 19.2.22 | ≤ 18.2.14
  • core≥ 21.0.0-next.0, < 21.2.15 | ≥ 22.0.0-next.0, < 22.0.0-rc.2 | ≥ 20.0.0-next.0, < 20.3.22 | ≥ 19.0.0-next.0, < 19.2.22 | ≤ 18.2.14
Angular1 product
  • angular≥ 21.0.0-next.0 < 21.2.15 (No fix recorded) | ≥ 22.0.0-next.0 < 22.0.0-rc.2 (No fix recorded) | ≥ 20.0.0-next.0 < 20.3.22 (No fix recorded) | ≥ 19.0.0-next.0 < 19.2.22 (No fix recorded) | ≤ 18.2.14 | ≥ 19.0.0, < 19.2.22 | ≥ 20.0.0, < 20.3.22 | ≥ 21.0.0, < 21.2.15 | 22.0.0:next0 | 22.0.0:next1 | 22.0.0:next10 | 22.0.0:next11 | 22.0.0:next12 | 22.0.0:next2 | 22.0.0:next3 | 22.0.0:next4 | 22.0.0:next5 | 22.0.0:next6 | 22.0.0:next7 | 22.0.0:next8 | 22.0.0:next9 | 22.0.0:rc0 | 22.0.0:rc1
Debian1 product
  • angular.jsAll versions (No fix recorded)
Ubuntu1 product
  • angular.jsAll versions (No fix recorded)

6 vendors · 25 products

References

9 links