# CVE-2026-88058: Angular: SSR XSS via Unescaped Processing Instruction (\<?...?\>) Nodes in Fallback Raw-Content Elements

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.50% (percentile 36, 2026-11-28)
- **CWE:** CWE-79, CWE-116
- **Aliases:** GHSA-j3r3-mxqp-r2p4
- **Published:** 2026-09-10T18:56:03.369Z
- **Modified:** 2026-09-29T19:01:24.747Z

## Who should check

- Projects that depend on npm package @angular/platform-server (\>= 22.0.0, \< 22.1.4)
- Anyone running angular \<= 19.2.25; \>= 20.0.0, \< 20.3.30; \>= 21.0.0, \< 21.2.22; \>= 22.0.0, \< 22.1.4

## Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.30, 21.2.22, and 22.1.4, Angular server-side rendering (SSR) in @angular/platform-server serializes ProcessingInstruction DOM nodes inside fallback raw-content elements without escaping matching ancestor closing tags. ProcessingInstruction data escaped greater-than characters but left less-than characters untouched and did not inspect fallback ancestors, so data such as a matching closing tag prematurely terminates noscript, iframe, noembed, or noframes containers. The vulnerable nodes cannot be authored through standard Angular templates; reachability requires application or library code using inject(DOCUMENT).createProcessingInstruction with attacker-controlled data or Renderer2 DOM insertion inside a fallback container. In HTML5 RAWTEXT parsing, the premature close causes subsequent sibling elements to be interpreted as live HTML and enables arbitrary JavaScript execution in a victim's browser. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.

## Affected and fixed versions

- npm `@angular/platform-server`: affected \>= 22.0.0, \< 22.1.4; fixed 22.1.4, 21.2.22, 20.3.30 (osv)
- angular: \<= 19.2.25; \>= 20.0.0, \< 20.3.30; \>= 21.0.0, \< 21.2.22; \>= 22.0.0, \< 22.1.4 (cvelist)

## Mitigation

- Upgrade @angular/platform-server to one of 22.1.4, 21.2.22, 20.3.30 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-88058. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-88058.md
Affected: @angular/platform-server >= 22.0.0, < 22.1.4
Fixed in: 22.1.4, 21.2.22, 20.3.30

Steps:
1. Search this machine and project for @angular/platform-server (npm), angular: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-88058 being exploited?

There is no confirmed exploitation: CVE-2026-88058 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-88058?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-88058?

@angular/platform-server \>= 22.0.0, \< 22.1.4.

### Is there a fix for CVE-2026-88058?

Yes. Fixed in 22.1.4, 21.2.22, 20.3.30. Upgrade @angular/platform-server to one of 22.1.4, 21.2.22, 20.3.30 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-88058?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-88058>
- patch: <https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915>
- patch: <https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef>
- patch: <https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8>
- patch: <https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f>
- exploit: <https://github.com/angular/angular/issues/70146>
- other: <https://github.com/angular/angular/releases/tag/v20.3.30>
- other: <https://github.com/angular/angular/releases/tag/v21.2.22>
- other: <https://github.com/angular/angular/releases/tag/v22.1.4>
- other: <https://github.com/angular/angular>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-88058>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j3r3-mxqp-r2p4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-88058> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-88058>
