Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2026-22610: Angular has XSS Vulnerability via Unsanitized SVG Script Attributes

HighCVSS 8.5 · v4.0—Proof of concept Fix available

Noroxi assessment

Priority: Monitor (action score 34/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.43% (FIRST EPSS).
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No special conditions are required; it is repeatable.
  • Fixed version: @angular/compiler (npm) 19.2.18, 20.3.16, 21.0.7; @angular/core (npm) 19.2.18, 20.3.16, 21.0.7.

Low priority for now. Upgrade to @angular/compiler (npm) 19.2.18, 20.3.16, 21.0.7; @angular/core (npm) 19.2.18, 20.3.16, 21.0.7 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0, a cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler. The vulnerability exists because Angular’s internal sanitization schema fails to recognize the href and xlink:href attributes of SVG <script> elements as a Resource URL context. This issue has been patched in versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0.

Published
Jan 10, 2026
Updated
Jun 17, 2026
EPSS
0.4% · 38th percentile

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
34 / 40 · 8.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
8.5
NVD has not scored this yet; the score shown is the CNA’s.

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2026-22610

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is the Angular on your site affected?Scan JavaScript libraries

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is the Angular on your site affected?Scan JavaScript libraries

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
angularangular

Is the Angular on your site affected?

The free JavaScript library scanner reads the Angular version from the files your site loads, matches this record and other known vulnerabilities, and gives the safe version on the same branch. If the version can't be read, it says so. No account needed.

Scan JavaScript libraries

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • angular angular

    • >= 21.1.0-next.0, < 21.1.0-rc.0, >= 21.0.0-next.0, < 21.0.7, >= 20.0.0-next.0, < 20.3.16, < 19.2.18affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
npm@angular/compilerfrom 19.0.0-next.0 · before 19.2.1819.2.18
npm@angular/compilerfrom 20.0.0-next.0 · before 20.3.1620.3.16
npm@angular/compilerfrom 21.0.0-next.0 · before 21.0.721.0.7
npm@angular/compilerfrom 21.1.0-next.0 · before 21.1.0-rc.021.1.0-rc.0
npm@angular/compilerup to and including 18.2.14—
npm@angular/corefrom 19.0.0-next.0 · before 19.2.1819.2.18
npm@angular/corefrom 20.0.0-next.0 · before 20.3.1620.3.16
npm@angular/corefrom 21.0.0-next.0 · before 21.0.721.0.7
npm@angular/corefrom 21.1.0-next.0 · before 21.1.0-rc.021.1.0-rc.0
npm@angular/coreup to and including 18.2.14—

Other highest-scoring records for the same primary product.

  • CVE-2026-68945Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning
    35Monitor
  • CVE-2026-50168Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass
    35Monitor
  • CVE-2026-46417Angular: SSRF via Hostname Hijacking in @angular/platform-server
    35Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2025-66035Nov 26, 2025 · Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs
    30Monitor
  • ← EarlierCVE-2025-66412Dec 1, 2025 · Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes
    34Monitor
  • Later →CVE-2026-27970Feb 25, 2026 · Angular i18n vulnerable to Cross-Site Scripting (XSS)
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
npm:@angular/compiler19.2.18Package registry (OSV)
npm:@angular/compiler20.3.16Package registry (OSV)
npm:@angular/compiler21.0.7Package registry (OSV)
npm:@angular/compiler21.1.0-rc.0Package registry (OSV)
npm:@angular/core19.2.18Package registry (OSV)
npm:@angular/core20.3.16Package registry (OSV)
npm:@angular/core21.0.7Package registry (OSV)
npm:@angular/core21.1.0-rc.0Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:12026-01-18

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+8 d
  3. TodayNov 12, 2026+307 d

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-6641240 days apartAngular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes
    34Monitor
  • CVE-2026-50555163 days apartAngular: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in @angular/platform-server
    34Monitor
  • CVE-2026-50556163 days apartAngular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR
    34Monitor
  • CVE-2026-54267163 days apartAngular Client Hydration DOM Clobbering & Response-Cache Poisoning
    34Monitor
  • CVE-2026-69149205 days apartAngular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)
    34Monitor
  • CVE-2026-88058243 days apartAngular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements
    34Monitor

Not on record for this CVE: EPSS history · researcher credit · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
A
Scope
X

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/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

nvd-secondary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

References

All records