Roothub
CVE-2025-8211
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with XSS payload
-
DeliverySocial engineer authenticated admin to click link
-
ExploitBrowser renders unescaped payload in response
-
ExecutionJavaScript executes in admin session context
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
SQL injection vulnerability in Topics Searching feature of Roothub 2.6.0 allows unauthorized attackers to execute arbitr
SQL injection vulnerability in Topics Counting feature of Roothub 2.6.0 allows unauthorized attackers to execute arbitra
Directory Traversal vulnerability in file cn/roothub/store/FileSystemStorageService in function store in Roothub 2.6.0 a
Roothub v2.5 was discovered to contain an arbitrary file upload vulnerability via the customPath parameter in the upload
Roothub v2.6 was discovered to contain a SQL injection vulnerability via the nodeTitle parameter in the parentNode() fun
Roothub v2.6 was discovered to contain a SQL injection vulnerability via the topic parameter in the list() function. Rat
Roothub v2.6 was discovered to contain a SQL injection vulnerability via the 's' parameter in the search() function. Rat
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB