Skip to main content

Roothub CVE-2025-8211

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-07-26 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious URL with XSS payload
  2. Delivery
    Social engineer authenticated admin to click link
  3. Exploit
    Browser renders unescaped payload in response
  4. Execution
    JavaScript executes in admin session context
  5. Impact
    Attacker exfiltrates session token or modifies configuration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) authenticated access to the Roothub application (administrator or user with system configuration privileges); (2) the Edit function in SystemConfigAdminController must accept and reflect unsanitized user input without HTML encoding; (3) a victim with valid credentials must click or visit a malicious URL crafted by the attacker; (4) the victim's browser must execute JavaScript (JavaScript must be enabled). Exploitation is NOT possible against default configurations accessed by unauthenticated users - PR:L authentication is mandatory. The UI:P (user interaction) requirement means purely automated remote exploitation is infeasible; social engineering or account compromise is necessary to deliver the malicious URL to a valid user.

Impact

This vulnerability presents low real-world risk despite network accessibility. The CVSS v4.0 base score of 2.0 is extremely low, reflecting the combination of multiple mitigating factors: authentication requirement (PR:L), user interaction dependency (UI:P), and limited scope of impact (integrity only, VI:L). The EPSS score of 0.06% (17th percentile) confirms minimal exploitation probability in the wild. While a public exploit exists, the authentication and interaction prerequisites mean only administrators or users with system configuration privileges who fall victim to social engineering pose a realistic attack vector. The XSS impact itself is constrained to integrity violations (modifying how content is rendered) rather than confidentiality or availability impact. This is a classic case where raw network accessibility masks low practical exploitability - defenders should prioritize patching higher-CVSS vulnerabilities but should still plan remediation during routine maintenance windows.

Exploit ScenarioDerived

An attacker crafts a malicious URL containing JavaScript payload in a parameter processed by the SystemConfigAdminController Edit function (e.g., https://roothub.example.com/admin/config?param=<script>stealCookie()</script>). The attacker socially engineers a system administrator into clicking the link while logged in. When the administrator clicks the link, the JavaScript executes in their browser context, potentially stealing session tokens, modifying administrator settings, or performing unauthorized configuration changes. Public exploit code on GitHub (github.com/wandeorfu/test) demonstrates the attack mechanics.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Roothub versions up to 2.6 contain a reflected cross-site scripting (XSS) vulnerability in the SystemConfigAdminController Edit function that allows authenticated users to inject malicious scripts via the web interface. The vulnerability requires user interaction (clicking a malicious link) and authenticated access, limiting its practical impact despite network-accessible delivery. Publicly available exploit code exists, though real-world exploitation risk is low given the EPSS score of 0.06% and the authentication barrier.

RemediationAI

Upgrade Roothub to a version newer than 2.6 if a patched release is available from the Roothub project. If no patched version exists, immediately implement input validation and output encoding in the SystemConfigAdminController Edit function by: (1) validating all user inputs against a whitelist of acceptable characters and rejecting any containing HTML metacharacters or script tags; (2) HTML-encoding all reflected output using a secure encoding library (e.g., OWASP ESAPI) before rendering in responses; (3) implementing Content Security Policy (CSP) headers to prevent inline script execution as a defense-in-depth layer. Restrict administrative access to the SystemConfigAdminController to a minimal set of trusted administrators using network-level controls or role-based access lists. Consult the Roothub project repository and VulDB (vuldb.com/?id.317779) for patch availability and additional remediation guidance.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Edit function of src/main/java/cn/roothub/web/admin/SystemConfigAdminController.java, a Java web controller handling system configuration updates. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that user-supplied input is reflected in HTTP responses without proper HTML encoding or sanitization. The attack vector is network-based (AV:N), but exploitation requires prior authentication (PR:L) and user interaction (UI:P), meaning a victim must click a crafted link while authenticated. The vulnerability affects the Roothub application itself rather than an underlying framework or library.

Know when Roothub gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in Roothub up to 2.6. It has been declared as problematic. Affected by this vulnerability is the function Edit of the file src/main/java/cn/roothub/web/admin/SystemConfigAdminController.java. The manipulation leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:roothub:roothub:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy