Tuesday, August 25, 2026

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
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

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

ToxNetV2, an AArch64 Linux peer-to-peer botnet, integrates a large...

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

A multi-agent AI framework, utilizing Hermes and OpenClaw agents,...

Scammers Impersonate Microsoft to Push Fake Security Scans and Refund Fraud

A cluster of fraudulent websites impersonating Microsoft is using...

Multiple Zscaler Client Connector Flaws Enable Remote Code Execution

Zscaler has addressed several vulnerabilities in its Client Connector...

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

Broadcom has disclosed 91 Common Vulnerabilities and Exposures (CVEs)...

PavinLoader Uses ClickFix and Fake Downloads to Deploy Amatera Stealer via Blockchain C2

PavinLoader, a multi-stage .NET malware loader, operating across ClickFix,...

Anthropic Expands Claude MCP Security With Enterprise-Managed Identity Controls

Anthropic has expanded Claude Enterprise’s Model Context Protocol (MCP)...

Related Articles

Recent News