Dataease Stored Cross-Site Scripting Vulnerability via Malicious SVG Uploads

Vulnerability

A stored cross-site scripting vulnerability has been identified in Dataease versions prior to 2.10.20. The issue arises from the static resource upload interface, which allows SVG files to be uploaded. However, the backend validation only ensures that the XML is well-formed and that the root element is SVG. It fails to sanitize active content, such as event handlers or script-capable attributes. This oversight enables an attacker to upload a harmful SVG, which can execute scripts in a browser when the static resource URL is accessed.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where uploaded SVG files execute scripts in the context of the user viewing the resource.

Reproduction

To reproduce this vulnerability, upload a malicious SVG file containing an onload event (such as a script alerting document cookies) through the static resource upload interface. After uploading, access the SVG file via its static resource URL to trigger the script execution.

Remediation

Users are advised to upgrade to Dataease version 2.10.20, where this vulnerability has been fixed.

Added: Mar 12, 2026, 6:21 PM
Updated: Mar 12, 2026, 6:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.8
remediation
7.7
relevance
3.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.