Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliverySubmit crafted Username to Add User Save handler
-
ExploitPayload stored unsanitized
-
ExecutionAdmin views user list page
-
ImpactScript executes in admin browser context
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 | Requires a low-privileged authenticated account (PR:L) on the huanzi-qch base-admin application capable of reaching the Add User handler (CommonController.java Save function) and supplying the Username argument. Exploitation is not self-contained: it needs victim interaction (UI:P) - a privileged user (typically an administrator) must subsequently view the page that renders the stored Username value for the payload to fire. Limiting factors: authentication is mandatory, a second user must view the tainted output, and there is no fixed release, so mitigation relies on manual input/output sanitization rather than an upgrade. |
| Impact | This is a genuinely low-to-moderate priority stored XSS. The CVSS 4.0 base of 5.1 (AV:N/AC:L/AT:N/PR:L/UI:P) already reflects meaningful friction: exploitation requires an authenticated account (PR:L) to submit a crafted Username, plus victim interaction (UI:P) - an administrator or other user must view the page that renders the malicious value. Impact is integrity-only and limited (VI:L; VC:N/VA:N), meaning no direct confidentiality or availability loss from the flaw itself. Public exploit code exists (E:P, confirmed by the GitHub write-up), which raises practical likelihood, but there is NO CISA KEV listing and NO EPSS score provided, so there is no evidence of widespread or active exploitation. The E:P 'Proof-of-Concept' maturity is consistent with the POC-exists signal and does NOT indicate weaponization. Net: a real, verifiable bug with public POC, but gated by authentication and user interaction, in a low-footprint product - priority should be modest. Note the description does not clarify whether the XSS is reflected or stored, but the primary POC reference is explicitly titled 'Storage-Based XSS,' indicating stored/persistent XSS; treat as stored. |
| Exploit ScenarioDerived | An attacker with a low-privileged authenticated account submits a new user via the Add User handler, placing a JavaScript payload in the Username field, which is stored without sanitization. When an administrator later opens the user-management page, the payload executes in the admin's browser session, enabling session/cookie theft or actions performed as the admin. A public proof-of-concept for this stored XSS is available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
Stored cross-site scripting in huanzi-qch base-admin lets a low-privileged authenticated user inject script through the Username argument of the Add User handler (CommonController.java Save), which then executes in the browser of any user - typically an administrator - who later views the tainted page. Exploitation requires a valid low-privileged account plus victim interaction (viewing the rendered username), and publicly available exploit code exists; no confirmed active exploitation is indicated (no CISA KEV listing). Because the project ships via continuous rolling releases, no fixed version has been published and the vendor did not respond to the disclosure.
RemediationAI
No vendor-released patch identified at time of analysis - the maintainer was contacted early but did not respond, and the project's continuous rolling release model means there is no fixed version to upgrade to. Until an upstream fix is published, enforce context-aware output encoding on the Username field wherever it is rendered (for example OWASP Java Encoder or Spring's HtmlUtils.htmlEscape) so stored values cannot break out into HTML or JavaScript execution contexts, accepting a small loss of rendering fidelity in exchange for eliminating the injection sink. Add server-side whitelist validation for usernames, with the trade-off that legitimate exotic characters may be rejected, and deploy a strict Content-Security-Policy such as script-src 'self' to blunt execution if encoding is missed, recognizing that CSP is defense-in-depth and may break inline-script-dependent UI. Because the vulnerable path requires a low-privileged authenticated account (PR:L), restrict the Add User endpoint to trusted administrators and audit stored usernames for existing payloads, while monitoring https://vuldb.com/vuln/409062 and the upstream repository for a patched commit.
Affected VersionsENISA
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 root cause is CWE-79 improper neutralization of input during web page generation: the Save function in base-admin-master/src/main/java/cn/huanzi/qch/baseadmin/common/controller/CommonController.java accepts the Username argument and persists it without output encoding, so the value is later emitted into HTML in an unsafe context. Base-admin is a Java (Spring/Spring Boot) admin scaffold; the CPE cpe:2.3:a:huanzi-qch:base-admin:*:*:*:*:*:*:*:* covers all versions, since the project uses continuous delivery with rolling releases and therefore exposes no discrete affected or fixed release identifiers. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) concur on network reachability, low privileges and required user interaction, with browser-context scope change - a classic stored XSS profile rather than a code-execution bug.
Know when Java 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
Authenticated submission (PR:L) and a victim must view the stored payload (UI:R); stored XSS executing in the victim's browser crosses a trust boundary (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in huanzi-qch base-admin up to 52816b760cd53244989fd664bbb2b3d4edbfdbf1. This issue affects the function Save of the file base-admin-master\src\main\java\cn\huanzi\qch\baseadmin\common\controller\CommonController.java of the component Add User Handler. The manipulation of the argument Username leads to cross site scripting. The attack can be initiated remotely. The exploit is publicly available and might be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The vendor was contacted early about this disclosure but did not respond in any way.
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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-85775
GHSA-f3rc-fpw3-4x4m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB