CVE-2026-8195 Details
Description
A vulnerability was detected in JeecgBoot up to 3.9.1. The affected element is an unknown function of the file jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/CommonController.java of the component SVG File Handler. The manipulation results in cross site scripting. The attack can be executed remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A stored cross-site scripting vulnerability has been identified in JeecgBoot versions prior to 3.9.1. The issue arises in the SVG file handler, specifically within a function of the CommonController.java file. This vulnerability allows authenticated users to upload SVG files containing JavaScript, which is then executed in the context of the user's browser when the file is accessed. The Spring resource handler serves the files with the correct MIME type, enabling the execution of the embedded scripts.
To address this vulnerability, JeecgBoot should implement several measures: First, add a 'Content-Disposition: attachment' header for all user-uploaded files served via the Spring resource handler to prevent inline execution of scripts. Second, introduce a 'Content-Security-Policy' header to block inline scripts. Third, sanitize SVG files on upload by removing script tags and event handlers. Fourth, correct the file type filter to accurately detect dangerous file signatures, especially for XML-based formats. Finally, consider serving uploaded files from a separate domain or subdomain to mitigate the impact of any potential cross-site scripting.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 9, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xpp3901/CVE_APPLY/blob/main/V-006_SVG_Stored_XSS/README.md | [email protected] | ExploitRemedyTechnical Analysis |
| https://vuldb.com/submit/803528 | [email protected] | Permission Required |
| https://vuldb.com/vuln/362347 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/362347/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| JeecgBoot | <= 3.9.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 9, 2026 | New CVE Received | [email protected] |
Volerion