Angular
Angular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.27, 21.2.19, and 22.0.7, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of fallback raw-content elements (<iframe>, <noembed>, <noframes>, and <noscript>). This issue is fixed in versions 20.3.27, 21.2.19, and 22.0.7.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 20.3.27
- >= 21.0.0-next.0, < 21.2.19
- >= 22.0.0-next.0, < 22.0.7
Fixed in 20.3.27, 21.2.19, 22.0.7
- < 20.3.27
- >= 21.0.0-next.0, < 21.2.19
- >= 22.0.0-next.0, < 22.0.7
Fixed in 20.3.27, 21.2.19, 22.0.7
Mitigation
Upgrade angular to 20.3.27 or 21.2.19 or 22.0.7 or later.
Upgrade platform-server to 20.3.27 or 21.2.19 or 22.0.7 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.