SecurityContext

CVE-2026-50556: Angular - Stored XSS

  • Cve: CVE-2026-50556
  • Name: Angular - Stored XSS
  • 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.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of <noscript> elements. When rendering dynamic text content inside a <noscript> element via template bindings (such as {{ value }} or [textContent]), the template engine expects the browser to render the content safely. Under Server-Side Rendering (SSR), domino is configured with scripting enabled, meaning <noscript> is treated as a raw-text element. However, domino's serializer completely omitted <noscript> from the list of raw-text elements requiring closing-tag escaping during DOM serialization. As a result, any occurrence of </noscript> in the bound dynamic text was never escaped under any circumstances. The unescaped closing tag was serialized directly into the output HTML (e.g. <noscript></noscript><script>alert(1)</script></noscript>). When parsed by a browser, it closes the <noscript> block early, allowing the injected <script> block to execute in the user's browser context, causing same-origin Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, leading to session hijacking or data theft.
  • Remediation: Update to versions 22.0.0-rc.2, 21.2.16, 20.3.24, or 19.2.25 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: stored_xss
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00412
  • Epss percentile: 0.35993
  • Assignee: [email protected]
  • Published at: 2026-06-22T18:16:43Z
  • Age in days: 155
  • Modified at: 2026-07-15T01:16:19Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-50556
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/angular/domino/pull/29Issue Tracking, Patch
https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qxThird Party Advisory
https://access.redhat.com/security/cve/CVE-2026-50556Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2491459Third Party Advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50556.jsonThird Party Advisory
https://github.com/angular/angular/issues/68903Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
angular:angular= 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; >= 21.0.0, < 21.2.16; >= 20.0.0, < 20.3.24; >= 19.0.0, < 19.2.25; <= 18.2.14nonvd/v1/products/angular/angular

Projects

RepositoryLink kindsIndexedUrl
angular/angularissues, package, security_advisoryyes/v1/repositories/angular/angular
angular/dominopullyes/v1/repositories/angular/domino

Index

  • Repositories: 9
  • Repositories high signal: 7
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 1009
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports