HOL LogoGuard

Explore HOL

  • HOL home
  • AI agent registry
  • AI plugins
  • Open standards
  • HOL members
  • Sponsor HOL
  • Advertise with HOL

Guard product

  • Guard overviewLocal security and control for AI agents and the tools they use.
  • FeaturesRuntime protection, policy routing, review, and evidence.

Explore Guard

  • Product previewWalk through Guard surfaces in read-only demo mode.
  • ComparisonCompare Guard with native controls and AI security vendors.

AI tools

  • All AI toolsEvery supported AI tool and how Guard applies policy to it.
  • Codex
  • Claude Code
  • Cursor
  • Antigravity CLI
  • OpenCode
  • Hermes
  • OpenClaw
  • GitHub Copilot CLI
  • Antigravity
  • Kimi
  • Grok
  • Pi / Oh My Pi
  • Zcode

Extensions

  • All extensionsBrowse command and MCP coverage with owners and stated limits.
  • Command coverageShell command protection across clouds, databases, backups, and packages.
  • MCP server coverageSee how Guard maps risk state across MCP tools and servers.
  • Core safetyThe safety floor listings that ship with Guard.
  • Data and resilienceBackup and storage command protection.
  • Cloud and infrastructureAWS, Azure, GCP, Kubernetes, and more.

Security

  • AI security hubSecurity research, advisories, and agent safety coverage.
  • AI tool securitySecurity profiles for each supported coding agent.
  • Safe labsHands-on attack simulations with safe boundaries.
  • Redacted warningsReal blocked actions with sensitive details removed.
  • AdvisoriesCoordinated disclosure reports for AI tooling.
  • Active CVEsSearch active CVEs affecting AI tooling.

Learn

  • Security guidesPractical guides for securing AI agent workflows.
  • DocsInstall, configure, and operate Guard with confidence.
  • ResearchPublished security research, benchmarks, and methodology.

Community

  • ReleasesVersion history, shipped changes and upgrade notes.
  • ContributorsThe people and contributions behind HOL Guard.
  • AffiliatesShare Guard with your audience and earn from referrals.
  • SponsorFund agreed research, implementation and shared testing through the HOL Partner Program.
  • AdvertiseCompare README logo placements, previews and monthly prices, or promote a plugin or extension.
PricingEnterpriseOpen AppInstall Guard
  1. Guard
  2. Security
  3. CVEs
  4. CVE 2026 50557 angular template and attribute namespace
HOL Guard

Public security guidance for teams protecting AI harnesses, MCP servers, skills, prompts, and local tool execution.

Install Guard

AI Security

  • Prompt injection
  • MCP security
  • OWASP MCP mapping
  • Supply chain

Resources

  • Trust packet
  • Harness setup
  • Redacted warnings
  • Safe labs

Product

  • Install Guard
  • Pricing
  • Open dashboard
Guard
  • Guard Overview
  • Releases
  • Contributors
  • Install Guard
  • Pricing
Docs
  • Documentation Index
  • Developer Hub
  • API Reference
  • Root OpenAPI
  • Registry OpenAPI
  • Run in Postman
  • Standards
  • Submit ERC-8004 Contract
  • Feature Your Agent
Best Plugins
  • Browse Plugins
  • Plugin Launches
  • Best Claude Plugins
  • Best Codex Plugins
  • Best Grok Plugins
  • Best Kimi Plugins
  • Best DeepSeek Plugins
  • Best Antigravity Plugins
  • Best MCP Servers
  • Best Cursor Plugins
  • Best OpenCode Plugins
Best Agents
  • Best ERC-8004 Agents
  • Best Virtuals Agents
  • Best MCP Servers
  • Best A2A Agents
  • Best x402 Payable
  • All Categories
Community
  • Telegram
  • X
More
  • About HOL
  • Sponsor
  • Advertise
  • Affiliate program
  • Contact
  • Blog
  • GitHub
  • Privacy
  • Terms of Service
Settings

Copyright ยฉ 2026 HOL DAO LLC. All rights reserved.

Back to active CVEs
Medium ยท CVSS 6.1CVE-2026-50557GHSA-F3M7-GQXR-G87X

Angular: Template and Attribute Namespace Sanitization Bypass (XSS)CVE-2026-50557

Answer in brief

CVE-2026-50557 records a Medium severity (CVSS 6.1) vulnerability in Angular: Template and Attribute Namespace Sanitization Bypass (XSS). The current sources do not mark it as known exploited. The current feed maps @angular/compiler (npm), @angular/compiler (npm), @angular/compiler (npm), @angular/compiler (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.

Analysis pending evidence review

HOL Guard separates source facts from reviewed analysis. See the methodology.

Published Jun 5, 2026Updated Jul 15, 2026Source checked Nov 1, 2026First seen by HOL Jun 19, 2026Material review Jul 15, 2026
Upstream Advisory

Key facts

Risk
Medium ยท CVSS 6.1
Exploitation
Not marked as known exploited
Affected software
28 mapped packages or products
Fix availability
Available

Why this deserves its current priority

CVSS is 6.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.

Analysis status

Analysis pending evidence review

Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.

Affected scope and exposure questions

The current feed maps @angular/compiler (npm), @angular/compiler (npm), @angular/compiler (npm), @angular/compiler (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.

Mapped affected packages and fixed versions
PackageAffected rangeFixed version
@angular/compilernpm>=22.0.0-next.0,<22.0.0-rc.222.0.0-rc.2
@angular/compilernpm>=19.0.0-next.0,<19.2.2219.2.22
@angular/compilernpm<=18.2.14Not reported
@angular/compilernpm>=20.0.0-next.0,<20.3.2220.3.22
@angular/compilernpm>=21.0.0-next.0,<21.2.1521.2.15
@angular/compilernpm>=22.0.0-next.0,<22.0.0-rc.222.0.0-rc.2
@angular/compilernpm>=19.0.0-next.0,<19.2.2219.2.22
@angular/compilernpm<=18.2.14Not reported
@angular/compilernpm>=20.0.0-next.0,<20.3.2220.3.22
@angular/compilernpm>=21.0.0-next.0<21.2.15Not reported
@angular/compilernpm>=22.0.0-next.0<22.0.0-rc.2Not reported
@angular/compilernpm>=20.0.0-next.0<20.3.22Not reported
@angular/compilernpm>=19.0.0-next.0<19.2.22Not reported
@angular/compilernpm>=21.0.0-next.0,<21.2.1521.2.15
@angular/corenpm>=20.0.0-next.0,<20.3.2220.3.22
@angular/corenpm>=19.0.0-next.0,<19.2.2219.2.22
@angular/corenpm<=18.2.14Not reported
@angular/corenpm>=22.0.0-next.0,<22.0.0-rc.222.0.0-rc.2
@angular/corenpm>=21.0.0-next.0,<21.2.1521.2.15
@angular/corenpm>=20.0.0-next.0,<20.3.2220.3.22
@angular/corenpm>=19.0.0-next.0,<19.2.2219.2.22
@angular/corenpm<=18.2.14Not reported
@angular/corenpm>=21.0.0-next.0<21.2.15Not reported
@angular/corenpm>=22.0.0-next.0<22.0.0-rc.2Not reported
@angular/corenpm>=20.0.0-next.0<20.3.22Not reported
@angular/corenpm>=22.0.0-next.0,<22.0.0-rc.222.0.0-rc.2
@angular/corenpm>=19.0.0-next.0<19.2.22Not reported
@angular/corenpm>=21.0.0-next.0,<21.2.1521.2.15

Recommended response

  1. 1Check inventory. Check lockfiles and deployed manifests for @angular/compiler, @angular/compiler, @angular/compiler.
  2. 2Review the reported fix. Update @angular/compiler to 22.0.0-rc.2; @angular/compiler to 19.2.22; @angular/compiler to 20.3.22; @angular/compiler to 21.2.15; @angular/compiler to 22.0.0-rc.2; @angular/compiler to 19.2.22; @angular/compiler to 20.3.22; @angular/compiler to 21.2.15; @angular/core to 20.3.22; @angular/core to 19.2.22; @angular/core to 22.0.0-rc.2; @angular/core to 21.2.15; @angular/core to 20.3.22; @angular/core to 19.2.22; @angular/core to 22.0.0-rc.2; @angular/core to 21.2.15 if you use the affected versions. Test the change in a non-production environment first.

Evidence timeline and material changes

  1. Published upstream

    Jun 5, 2026

    Evidence: source:ghsa:source_dates:source-dates:record
  2. Source modified

    Jul 15, 2026

    Evidence: source:ghsa:source_dates:source-dates:record
  3. First seen by HOL

    Jun 19, 2026

Sources and claim methodology

  • GitHub security advisorygithub.com
  • GitHub security advisorygithub.com
  • GitHub security advisorygithub.com
  • GitHub security advisorygithub.com
  • NVD vulnerability recordnvd.nist.gov
Upstream source description

An issue in the `@angular/compiler` and `@angular/core` packages allows bypassing element and attribute sanitization/validation through specific namespace workarounds. Specifically, namespaced script elements (e.g., `<svg:script>` or `<:svg:script>`) were not properly identified as script elements by the Angular template preparser, allowing them to pass through template compilation without being stripped. Furthermore, security context schema mappings for element attributes did not consistently handle attributes within namespaced elements (like SVG and MathML), opening up gaps where malicious namespaced attributes could bypass runtime and compile-time sanitizers. Combined, these flaws enable an attacker who can inject or supply a template/tag structure with custom namespaces to bypass Angular's script-stripping logic and attribute sanitizers, leading to client-side Cross-Site Scripting (XSS). ### Impact Any Angular application that compiles user-controlled templates at runtime, or relies on sanitization of namespaced elements/attributes, is vulnerable to this security bypass. Once exploited, this allows a malicious actor to inject a namespaced script element or dynamic attribute bindings, bypassing core sanitization constraints to execute arbitrary JavaScript within the target user's browser context. This could lead to session hijacking, sensitive data exposure, or unauthorized actions on behalf of the user. ### Attack Preconditions To successfully exploit these vulnerabilities, the following environment parameters and application states must all concurrently exist: 1. **User-Controlled Template Input:** The application must accept user-controlled inputs that are directly processed by the Angular template compiler at runtime. 2. **Namespace Parsing Support:** The input structure must employ custom namespace prefixes (such as `<svg:script>`) to evade standard tag-name blocklists/checks. 3. **Absence of Additional Context Sanitization:** The application does not perform separate input sanitization before feeding values to the Angular compiler. ### Patches * 22.0.0-rc.2 * 21.2.15 * 20.3.22 * 19.2.23 ### References * https://github.com/angular/angular/pull/68868 * https://github.com/angular/angular/pull/68689

Quoted source text, attributed separately from HOL analysis.

Related CVEs

  • Gitea stored XSS through legacy Actions artifact Content-EncodingAlso CWE-79
  • Media Library Assistant < 3.44 - Contributor+ Stored XSS via mla_item_parameter Shortcode AttributeAlso CWE-79
  • Typemill SvgSanitizer.php saveImage cross site scriptingAlso CWE-79

Record context

Vulnerability class
XSS
EPSS
Not reported
CWE IDs
CWE-79
Source
GitHub Security Advisories
Source checked
Nov 1, 2026
References
5 linked sources
Open source record