Skip to content
CVE-2026-70305 IBM QRadar · QRadar

Detect Azure Portal Cross-Site Scripting Spoofing (CVE-2026-70305) in IBM QRadar

Detects potential exploitation of CVE-2026-70305, a cross-site scripting (CWE-79) vulnerability in the Microsoft Azure Portal that allows an unauthorized attacker to perform spoofing over a network. Exploitation occurs in the browser against Azure Portal surfaces, so telemetry is strongest at the network edge, proxy, and sign-in layers. Look for injected script payloads in Azure Portal URLs and referers, resource-name or tag fields containing HTML or JavaScript markup, suspicious redirects or session-token access after portal navigation, and Azure AD sign-in or audit events that correlate user interaction with portal spoofing attempts. CVSS 9.6. No public exploit is reported as of disclosure.

MITRE ATT&CK

Tactic
Initial Access Credential Access

QRadar Detection Query

IBM QRadar (QRadar)
sql
-- df00tech DF00-218ec1e559 · https://df00tech.com/detections/CVE-2026-70305 · licence: https://df00tech.com/detections/licence
SELECT QIDNAME(qid) AS event, sourceip, destinationip, username, "URL" AS url, "Request Context" AS ctx, starttime
FROM events
WHERE ("URL" ILIKE '%portal.azure.com%' OR "URL" ILIKE '%portal.azure.net%')
AND ("URL" IMATCHES '.*(<script|onerror=|onload=|javascript:|%3Cscript|document\.cookie|onmouseover=|<svg|<img |fromcharcode).*'
     OR "Request Context" IMATCHES '.*(<script|onerror=|javascript:).*')
ORDER BY starttime DESC LAST 24 HOURS
high severity medium confidence

QRadar AQL query flagging Azure Portal HTTP events whose URL or request context fields contain XSS payload signatures associated with CVE-2026-70305.

Data Sources

ProxyFirewallFlow Logs

Required Tables

events

False Positives & Tuning

  • Authorized vulnerability scanners emitting XSS probes to the portal
  • Encoded but benign URL parameters matching the regex
  • Payloads embedded in legitimate support/diagnostic URLs

Other platforms for CVE-2026-70305


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Reflected XSS probe in Azure Portal deep link

    Expected signal: Proxy/firewall HTTP log entry to portal.azure.com with URL containing %3Cscript%3E...document.cookie

  2. Test 2 Stored XSS marker in Azure resource tag

    Expected signal: AuditLogs entry (OperationName: Update tags) with TargetResources containing the onerror payload

  3. Test 3 XSS payload in portal search query via browser automation

    Expected signal: Endpoint NetworkConnect/HTTP event to portal.azure.com with URL containing %3Csvg/onload%3Dalert(1)%3E

Last updated: Research depth: standard
References (1)

Response Playbook

Triage

  1. Confirm whether the Azure Portal tenant is patched: Azure Portal is a Microsoft-hosted service, so verify Microsoft has applied the fix per the MSRC advisory and check whether any custom portal extensions or embedded dashboards are in use.
  2. Extract the matched URL/field and URL-decode it to determine whether it contains a genuine executable payload (e.g. <script>, event handlers, document.cookie exfiltration) versus a benign string.
  3. Identify the affected user principal and session: correlate the alert time with Azure AD sign-in logs to determine whether a privileged account interacted with the crafted content.
  4. Determine the delivery vector, reflected (crafted link clicked), stored (malicious resource name/tag/note rendered in portal), or spoofed content, by reviewing where the payload originated.

Containment

  1. Revoke active Azure AD sessions and refresh tokens for any affected or privileged user who rendered the payload (Revoke-AzureADUserAllRefreshToken / Revoke-MgUserSignInSession).
  2. Block the malicious source IPs and any attacker-controlled exfiltration domains at the proxy/firewall, and quarantine or rename any Azure resources whose names/tags contain injected markup.
  3. Temporarily enforce Conditional Access step-up MFA and restrict portal access to compliant devices for high-privilege roles until the vector is confirmed closed.

Evidence Collection

  1. Preserve full proxy/firewall HTTP logs (URL, referer, user-agent, request body) and Azure AD AuditLogs/SignInLogs entries for the affected user and timeframe.
  2. Capture the raw resource definitions, tags, and audit entries containing the injected payload before remediation (ARM export / Get-AzResource JSON).
  3. Collect browser/session artifacts where feasible: HAR captures, session cookie scope, and any evidence of token or cookie access following payload render.

Escalation Criteria

  • !Escalate to incident response if the payload shows evidence of session token/cookie theft or if a Global Administrator or other privileged role rendered the content.
  • !Escalate to Microsoft/MSRC and your TAM if exploitation against the hosted portal is confirmed, as remediation depends on the service provider.
  • !Escalate if injected content persists in stored Azure resources (stored XSS) affecting multiple users or tenants.

Investigation Guide

Forensic Artifacts

  • >Proxy/firewall HTTP request logs containing the XSS payload in URL or referer
  • >Azure AD AuditLogs/SignInLogs showing the session and any subsequent anomalous token use
  • >Azure resource definitions, tags, and ARM audit records holding stored payload content
  • >Browser HAR captures and session cookie scope for the affected user

Tuning Guidance

Baseline the normal character set of your tenant's Azure resource names and tags; most legitimate traffic will never contain < , > or script-related tokens, so a low false-positive floor is expected. Whitelist known authorized scanner source IPs and penetration-testing windows to suppress sanctioned XSS probes. Tighten by URL-decoding before matching (double-decode where proxies pass encoded payloads) and by requiring the pattern in the URL/referer rather than user-supplied search terms. Raise severity when a privileged Azure AD role is the affected principal or when token/cookie access follows the render.


Hunting Queries

Hunts across all Azure Portal-bound traffic for URL-decoded XSS payload markers to surface historic exploitation attempts of CVE-2026-70305.

Hunting — KQL
kql
// df00tech DF00-218ec1e559 · https://df00tech.com/detections/CVE-2026-70305 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "portal.azure" | extend d=url_decode(RequestURL) | where d matches regex @"(?i)(<script|onerror=|javascript:|document\.cookie|%3Cscript)" | project TimeGenerated, SourceUserName, SourceIP, d
Hunting — SPL
spl
``` df00tech DF00-218ec1e559 · https://df00tech.com/detections/CVE-2026-70305 · licence: https://df00tech.com/detections/licence ```
index=proxy dest_host="*portal.azure.*" | eval d=urldecode(url) | regex d="(?i)(<script|onerror=|javascript:|document\.cookie|%3Cscript)" | table _time user src_ip d

Atomic Red Team Tests

Test 1 Reflected XSS probe in Azure Portal deep link
linux

Simulates a crafted reflected-XSS Azure Portal URL as would be delivered in phishing, generating proxy telemetry with an encoded script payload.

Command

bash
curl -s -o /dev/null 'https://portal.azure.com/#@contoso.onmicrosoft.com/resource/subscriptions/00000000-0000-0000-0000-000000000000/overview?q=%3Cscript%3Ealert(document.cookie)%3C%2Fscript%3E'

Cleanup

bash
echo 'No local artifacts to clean; proxy log entry only'

Expected Telemetry

Proxy/firewall HTTP log entry to portal.azure.com with URL containing %3Cscript%3E...document.cookie

Expected Detection

KQL/SPL/EQL rules match the URL-decoded <script> + document.cookie markers against the portal host.

Test 2 Stored XSS marker in Azure resource tag
windows

Creates (lab subscription only) an Azure resource tag containing an HTML/script payload to simulate stored XSS rendered in the portal and surfaced via Azure AD audit logs.

Command

powershell
az tag create --resource-id "/subscriptions/<lab-sub>/resourceGroups/rg-lab" --tags note="<img src=x onerror=alert(document.cookie)>"

Cleanup

powershell
az tag delete --resource-id "/subscriptions/<lab-sub>/resourceGroups/rg-lab" --yes

Expected Telemetry

AuditLogs entry (OperationName: Update tags) with TargetResources containing the onerror payload

Expected Detection

KQL AuditLogs branch matches the onerror=/img payload markers in TargetResources.

Test 3 XSS payload in portal search query via browser automation
macos

Drives a headless browser to submit a script payload into an Azure Portal search parameter, generating endpoint network telemetry for CQL/Chronicle detection.

Command

bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --dump-dom 'https://portal.azure.com/?feature.search=%3Csvg%2Fonload%3Dalert(1)%3E' > /tmp/portal_xss.html

Cleanup

bash
rm -f /tmp/portal_xss.html

Expected Telemetry

Endpoint NetworkConnect/HTTP event to portal.azure.com with URL containing %3Csvg/onload%3Dalert(1)%3E

Expected Detection

CrowdStrike CQL and Chronicle YARA-L rules match the svg/onload payload on the portal host.

Related Detections