Skip to content

CVE-2026-22610 (High) detected in core-12.2.5.tgz, compiler-12.2.5.tgz #120

@mend-for-github-com

Description

@mend-for-github-com

CVE-2026-22610 - High Severity Vulnerability

Vulnerable Libraries - core-12.2.5.tgz, compiler-12.2.5.tgz

core-12.2.5.tgz

Angular - the core framework

Library home page: https://registry.npmjs.org/@angular/core/-/core-12.2.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • core-12.2.5.tgz (Vulnerable Library)
compiler-12.2.5.tgz

Angular - the compiler library

Library home page: https://registry.npmjs.org/@angular/compiler/-/compiler-12.2.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • compiler-12.2.5.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2026-01-10

URL: CVE-2026-22610

CVSS 3 Score Details (8.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jrmj-c5cx-3cw6

Release Date: 2026-01-10

Fix Resolution: angular - 20.3.16,angular - 21.0.7,angular - 19.2.18,https://github.com/angular/angular.git - v20.3.16,https://github.com/angular/angular.git - v21.0.7,https://github.com/angular/angular.git - v19.2.18,https://github.com/angular/angular.git - v21.1.0-rc.0


  • Check this box to open an automated fix PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions