Intel

AIKIDO-2026-69639

@angular/platform-server is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)CVE-2026-88058 Published Today

86

High Risk

This Affects:

JS@angular/platform-server
20.0.0 - 20.3.29
Fixed in 20.3.30
21.0.0 - 21.2.21
Fixed in 21.2.22
22.0.0 - 22.1.3
Fixed in 22.1.4
Are you affected? Scan for Free

TL;DR

During server-side rendering, Angular's serializer escapes the > character inside ProcessingInstruction content but does not check for or escape matching closing tags of ancestor fallback elements such as noscript, iframe, noembed, or noframes. A crafted processing instruction created via createProcessingInstruction() or Renderer2 can prematurely close the fallback container, letting sibling markup execute as live HTML in the browser instead of remaining inert. The fix checks the ancestor fallback tags and escapes any matching closing sequence inside the processing instruction content.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application calls createProcessingInstruction() or uses Renderer2 to insert untrusted data into a processing instruction within a noscript, iframe, noembed, or noframes element during server-side rendering.

Background info

@angular/platform-server is vulnerable to Cross-Site Scripting (XSS) in versions 20.0.0 - 20.3.29, 21.0.0 - 21.2.21 and 22.0.0 - 22.1.3.

How to fix this

Upgrade the @angular/platform-server library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform