Cyber Security News

New Angular Vulnerability Allows Attackers to Execute Malicious Payloads

A high Cross-Site Scripting (XSS) vulnerability has been discovered in Angular’s Template Compiler, potentially exposing millions of web applications to malicious JavaScript execution.

The flaw, tracked as CVE-2026-22610, affects multiple versions of Angular’s core packages and carries a High severity rating with a CVSS score of 7.3/10.

AttributeDetails
CVE IDCVE-2026-22610
SeverityHigh (CVSS 4.0: 7.3/10)
Vulnerability TypeCross-Site Scripting (XSS) – CWE-79

Vulnerability Details

The security flaw stems from Angular’s internal sanitization schema failing to recognize href and xlink properly:href attributes in SVG <script> elements as Resource URL contexts.

This oversight allows attackers to bypass Angular’s built-in security protections when template binding assigns user-controlled data to these attributes.

When developers use property or attribute binding, such as <script [attr.href]=”userInput”>, the compiler incorrectly treats malicious input as standard strings rather than potentially dangerous resource links.

Attackers can exploit this by injecting data URIs containing JavaScript (data: text/javascript) or by using external malicious script URLs.

Successful exploitation enables arbitrary JavaScript execution in victims’ browser sessions, leading to session hijacking, data exfiltration, and unauthorized actions performed on behalf of authenticated users.

However, exploitation requires specific preconditions: applications must use SVG <script> elements with property binding on href or xlink:href attributes, and the bound data must originate from untrusted sources.

Angular has released patches across multiple version branches. Administrators should immediately update to the patched versions  19.2.18, 20.3.16, 21.0.7, or 21.1.0-rc.0.

Until patches are applied, developers should avoid dynamic bindings on SVG <script> elements and implement strict server-side input validation against trusted URL allowlists.

Organizations using the Angular framework should prioritize this update to prevent potential exploitation of their web applications.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

AI-Assisted ToxNetV2 Linux Botnet Uses LLM to Generate Shell and SSH Commands

ToxNetV2, an AArch64 Linux peer-to-peer botnet, integrates a large language model into its controller workflow…

7 hours ago

Multi-Agent AI Framework Compromises Government Systems and Steals Thousands of Records

A multi-agent AI framework, utilizing Hermes and OpenClaw agents, was employed to compromise government entities…

8 hours ago

Scammers Impersonate Microsoft to Push Fake Security Scans and Refund Fraud

A cluster of fraudulent websites impersonating Microsoft is using fake “security scans” to pressure victims…

9 hours ago

ASOS Warns Customers of Data Breach Following Credential-Based Account Takeovers

ASOS has started notifying affected customers in the U.S. after detecting unauthorized access to accounts…

9 hours ago

Multiple Zscaler Client Connector Flaws Enable Remote Code Execution

Zscaler has addressed several vulnerabilities in its Client Connector endpoint application that could allow an…

9 hours ago

91 Spring CVEs Impact Over 209,000 Software Components Across the Supply Chain

Broadcom has disclosed 91 Common Vulnerabilities and Exposures (CVEs) affecting the Spring Framework and related…

11 hours ago