Skip to main content

Angular.js: 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… (CVE-2026-50556)

0
Medium
Published: 06/22/2026 (06/22/2026, 18:16:00 UTC)
Source: GCVE Database
Product: angular.js

Description

A Cross-Site Scripting (XSS) vulnerability exists in Angular's @angular/platform-server DOM emulation prior to versions 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25. The issue arises from improper serialization of <noscript> elements during Server-Side Rendering (SSR), allowing injected scripts to execute in the user's browser context. This vulnerability is fixed in the stated versions.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/xenial
Affected versions
=1.2.28-1ubuntu2=1.2.28-1ubuntu2+esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/bionic
Affected versions
=1.5.10-1=1.5.10-1ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-apps/focal
Affected versions
=1.5.10-1=1.7.9-1=1.7.9-1ubuntu0.1~esm1
Ubuntu:22.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=jammy
Affected versions
=1.8.2-2=1.8.2-2ubuntu0.1
Ubuntu:24.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=noble
Affected versions
=1.8.3-1=1.8.3-1ubuntu0.24.04.1
Ubuntu:25.10more threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=questing
Affected versions
=1.8.3-1=1.8.3-3
Ubuntu:26.10more threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=stonking
Affected versions
=1.8.3-3
Ubuntu:26.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=resolute
Affected versions
=1.8.3-3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:58:51 UTC

Technical Analysis

Angular's @angular/platform-server uses the domino library for DOM emulation during Server-Side Rendering. Prior to versions 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, domino's serializer did not escape closing </noscript> tags within dynamic text content bound inside <noscript> elements. Since domino was configured with scripting enabled, <noscript> was treated as a raw-text element but omitted from the list requiring closing-tag escaping. This omission allowed injected </noscript> tags to prematurely close the <noscript> block, enabling subsequent injected <script> tags to execute, resulting in a same-origin XSS vulnerability. The issue is resolved in the specified fixed versions.

Potential Impact

Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the context of the affected web application, leading to potential compromise of user data confidentiality and integrity. The vulnerability has a CVSS 3.1 score of 8.1 (high severity), indicating a significant risk if exploited. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Upgrade Angular to one of the fixed versions: 22.0.0-rc.2, 21.2.16, 20.3.24, or 19.2.25. These versions include the fix that properly escapes closing </noscript> tags during DOM serialization in @angular/platform-server. No additional mitigation is required once upgraded.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-50556
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f60e2cdf04f656664118

Added to database: 10/17/2026, 22:26:22 UTC

Last enriched: 10/18/2026, 00:58:51 UTC

Last updated: 10/18/2026, 00:58:51 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses