Skip to main content

Angular CVE-2026-22610

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-01-10 security-advisories@github.com GHSA-jrmj-c5cx-3cw6
8.5
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.5 HIGH
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
Red Hat
7.3 MEDIUM
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
A
Scope
X

Lifecycle Timeline

9
Analysis Updated
Jun 02, 2026 - 14:28 vuln.today
v3 (cvss_changed)
Source Code Evidence Fetched
Jun 02, 2026 - 14:28 vuln.today
Analysis Updated
Jun 02, 2026 - 14:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 02, 2026 - 14:22 vuln.today
cvss_changed
Severity Changed
Jun 02, 2026 - 14:22 NVD
MEDIUM HIGH
CVSS changed
Jun 02, 2026 - 14:22 NVD
6.1 (MEDIUM) 8.5 (HIGH)
Analysis Generated
Mar 12, 2026 - 21:54 vuln.today
Patch released
Feb 23, 2026 - 18:23 nvd
Patch available
CVE Published
Jan 10, 2026 - 04:16 nvd
MEDIUM 6.1

DescriptionGitHub Advisory

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.

AnalysisAI

Cross-site scripting in Angular's Template Compiler allows attackers to inject arbitrary JavaScript through unsanitized href and xlink:href attributes on SVG <script> elements bound to untrusted data. Affects Angular versions prior to 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0, with no public exploit identified at time of analysis despite a very low EPSS score of 0.01%. Patched releases are available from the Angular project, and exploitation requires the victim application to dynamically bind user-controlled values to those specific SVG script attributes.

Technical ContextAI

Angular is a TypeScript/JavaScript framework for building single-page web applications, and its Template Compiler is responsible for transforming HTML templates into rendering instructions that include automatic sanitization wrappers. The root cause is a CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw in the compiler's DOM security schema (dom_security_schema.ts) and runtime sanitization logic (sanitization.ts), which only treated href on base/link and src on embed/frame/iframe/media/script as Resource URL contexts. Because script|href and script|xlink:href were missing from the SECURITY_SCHEMA map and the getUrlSanitizer routing, Angular emitted the weaker ɵɵsanitizeUrl instead of ɵɵsanitizeResourceUrl for SVGScriptElement href bindings - allowing javascript:/data: URIs and remote script references to pass through. The patch adds those attribute keys to the schema, introduces SRC_RESOURCE_TAGS/HREF_RESOURCE_TAGS sets, and routes script xlink:href through ɵɵsanitizeResourceUrl. The CPE list confirms the affected ecosystem is the @angular/angular Node.js packages, with the 21.1.0-next.0 through next.4 prereleases explicitly enumerated.

RemediationAI

Vendor-released patches are available: upgrade @angular/core and @angular/compiler to 19.2.18, 20.3.16, 21.0.7, or 21.1.0-rc.0 depending on the release line in use, as documented in https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6 and the fixing commit https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56. As a workaround until upgrading, avoid using Angular template property/attribute binding (e.g., [attr.href], [attr.xlink:href]) on SVG <script> elements entirely - refactor templates to use static script references or non-SVG script loading patterns, with the trade-off of losing any dynamic SVG scripting behavior. If dynamic values must be used, strictly validate them server-side against an allowlist of trusted URLs before they reach the template, accepting that allowlist maintenance and false-rejections are the trade-off. Siemens customers should additionally review SSA-253495 and SSA-485750 for product-specific guidance.

CVE-2026-88056 HIGH POC
8.6 Sep 10

Server-Side Rendering in Angular's @angular/platform-server leaks server-side credentials to attacker-controlled origins

CVE-2025-66412 HIGH
8.5 Dec 01

We need to produce a JSON with all the specified fields. I'll synthesize the data. First, the product name: "Angular" i

CVE-2026-50178 HIGH
8.7 Jun 22

Command injection via untrusted Markdown rendering in the Angular Language Service VS Code extension (versions prior to

CVE-2026-49241 HIGH
8.7 Jun 22

Arbitrary code execution in the Angular Language Service VS Code extension prior to 21.2.4 allows attackers to silently

CVE-2026-41423 HIGH
8.7 May 08

Server-Side Request Forgery in Angular's @angular/platform-server (SSR) lets remote unauthenticated attackers hijack the

CVE-2026-88058 HIGH
8.6 Sep 10

Cross-site scripting in Angular's server-side rendering engine (`@angular/platform-server`) allows arbitrary JavaScript

CVE-2026-88060 HIGH POC
8.6 Sep 10

Cross-site scripting via Angular's server-side rendering package (@angular/platform-server) allows arbitrary JavaScript

CVE-2026-27970 HIGH
7.6 Feb 26

Cross-site scripting in Angular's internationalization (i18n) pipeline allows attacker-controlled JavaScript to execute

CVE-2026-88057 MEDIUM
5.3 Sep 10

Cross-site scripting in Angular's compiler and runtime (@angular/core, @angular/compiler) prior to versions 20.3.28, 21.

CVE-2026-88059 MEDIUM
4.0 Sep 10

HttpTransferCache in Angular's SSR stack leaks authenticated user data to subsequent unauthenticated visitors when hiera

CVE-2026-27739
Feb 25

The Angular SSR is a server-rise rendering tool for Angular applications. Versions prior to 21.2.0-rc.1, 21.1.5, 20.3.17

CVE-2026-27738
Feb 25

The Angular SSR is a server-rise rendering tool for Angular applications. An Open Redirect vulnerability exists in the i

Vendor StatusVendor

Share

CVE-2026-22610 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy