Critical Severity CVE-2026-70305
Published: Dec 1, 2026

[GitHub] CVE-2026-70305

Rce
Type
N/A
CVSS Score
11
Views
Anonymous
Author

Description

PoC for CVE-2026-70305 — Azure Portal Stored XSS via Resource Tag (CVSS 9.6)

<p align="center"><img src="https://capsule-render.vercel.app/api?type=waving&color=0:0d1117,100:e94560&height=200&section=header&text=CVE-2026-70305&fontSize=50&fontColor=ffffff&fontAlignY=38&desc=Azure%20Portal%20%E2%80%94%20Stored%20XSS%20via%20Resource%20Tag%20(CVSS%209.6)&descAlignY=58&descSize=15" /></p>

<p align="center">
<img src="https://img.shields.io/badge/CVE-2026--70305-critical?style=for-the-badge&color=e94560" />
<img src="https://img.shields.io/badge/CVSS-9.6-critical?style=for-the-badge&color=ff0000" />
<img src="https://img.shields.io/badge/CWE-79-orange?style=for-the-badge" />
<img src="https://img.shields.io/badge/Azure%20Portal-cloud-blue?style=for-the-badge&logo=microsoftazure" />
</p>

## Overview
**CVE-2026-70305** — CVSS 9.6 CRITICAL stored XSS in Azure Portal. An authenticated user injects a persistent XSS payload into a resource tag value via ARM API. The Unicode RLO prefix (`\u202e`) in the tag name bypasses the portal's HTML encoder, causing the payload to execute in any portal session that renders that resource's tag blade.

## Attack Flow
```mermaid
flowchart TD
A[Authenticated Azure User] -->|PATCH ARM tags — Unicode RLO prefix| B[Resource Group Tags]
B -->|innerHTML render without encoding| C[XSS Payload Executes in Victim Browser]
C --> D[Session Cookie Exfil]
C --> E[ARM Bearer Token Theft]
C --> F[Lateral movement to other subscriptions]
```

## Usage
```bash
python3 poc.py --bearer "eyJ..." --sub-id "00000000-..." --rg "my-resource-group"
```

## Mitigation
- Patched automatically on 2026-11-19 (HTML entity encoding for all tag values)
- Audit resource tags for suspicious Unicode characters

## References
- [NVD CVE-2026-70305](https://nvd.nist.gov/vuln/detail/CVE-2026-70305)
- [CWE-79](https://cwe.mitre.org/data/definitions/79.html)

<p align="center"><img src="https://capsule-render.vercel.app/api?type=waving&color=0:e94560,60:3d0015,100:0d1117&height=120&section=footer" /></p>
<p align="center"><sub>cveFor

Community Rating
0

Login to rate this exploit

Quick Actions