Skip to content
RedCVE

CVE-2026-88058Angular cross-site scripting (XSS)

angularPublished:

CVSS score

8.6

High

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.28%

0.28% chance of exploitation in the next 30 days, higher than 20.9% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Angular and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Angular to 20.3.30, 21.2.22, 22.1.4 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
angular Angular≥ 19.0.0, ≤ 19.2.25 · ≥ 20.0.0, < 20.3.30 · ≥ 21.0.0, < 21.2.22 · ≥ 22.0.0, < 22.1.4 · <= 19.2.25 · >= 20.0.0, < 20.3.30

Weakness

  • CWE-79 cross-site scripting (XSS)
  • CWE-116 improper output encoding

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-88058 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-88058?

CVE-2026-88058 has a CVSS 4.0 base score of 8.6 (high).

Which versions are affected?

Angular Angular (≥ 19.0.0, ≤ 19.2.25; ≥ 20.0.0, < 20.3.30; ≥ 21.0.0, < 21.2.22; ≥ 22.0.0, < 22.1.4; <= 19.2.25; >= 20.0.0, < 20.3.30)

Is there a patch for CVE-2026-88058?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.