@angular/platform-server is vulnerable to Cross-Site Scripting (XSS)
86
High Risk
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.
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.
@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.
Upgrade the @angular/platform-server library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.