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

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-09-10T18:56:03.369Z
- Modified: 2026-09-29T19:01:24.747Z
- Also known as: GHSA-j3r3-mxqp-r2p4
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- angular angular: <= 19.2.25; >= 20.0.0, < 20.3.30; >= 21.0.0, < 21.2.22; >= 22.0.0, < 22.1.4; from 19.0.0 up to 19.2.25; from 20.0.0 before 20.3.30; from 21.0.0 before 21.2.22; from 22.0.0 before 22.1.4
- @angular/platform-server (npm): from 22.0.0 before 22.1.4; from 21.0.0 before 21.2.22; from 20.0.0 before 20.3.30; up to 19.2.25

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4> (exploit, third-party-advisory, web)
- <https://github.com/angular/angular/issues/70146> (exploit, issue-tracking, patch, web)
- <https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915> (patch, web)
- <https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef> (patch, web)
- <https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8> (patch, web)
- <https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f> (patch, web)
- <https://github.com/angular/angular/releases/tag/v20.3.30> (release-notes, web)
- <https://github.com/angular/angular/releases/tag/v21.2.22> (release-notes, web)
- <https://github.com/angular/angular/releases/tag/v22.1.4> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-88058> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-88058](https://www.cve.org/CVERecord?id=CVE-2026-88058), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-j3r3-mxqp-r2p4](https://github.com/advisories/GHSA-j3r3-mxqp-r2p4), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-88058](https://nvd.nist.gov/vuln/detail/CVE-2026-88058), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-88058 · Whole record: https://cve.day/CVE-2026-88058.json · Rebuilt by cve.day 2026-11-25T22:59:37.894Z
