CVE-2025-60445 Details
Description
A stored Cross-Site Scripting (XSS) vulnerability has been discovered in XunRuiCMS version 4.7.1. The vulnerability exists due to insufficient validation of SVG file uploads in the dayrui/Fcms/Library/Upload.php component, allowing attackers to inject malicious JavaScript code that executes when the uploaded file is viewed.
A stored Cross-Site Scripting vulnerability has been identified in XunRuiCMS version 4.7.1. This issue arises from inadequate validation of SVG file uploads in the 'dayrui/Fcms/Library/Upload.php' component. The vulnerability allows attackers to inject malicious JavaScript that executes when the uploaded file is accessed.
To address this vulnerability, XunRuiCMS should implement proper validation and sanitization of SVG files in the 'Upload.php' component. This includes removing potentially dangerous attributes and elements, updating the validation routine to check for event handlers and other JavaScript execution vectors, and considering the use of a Content Security Policy to prevent the execution of inline scripts.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 3, 2025References 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://snowhy77.github.io/2025/08/18/File-Upload-to-Achieve-Stored-XSS-Attack/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xunruicms xunruicms | 4.7.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| Oct 3, 2025 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | New CVE Received | [email protected] |