Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2026-49867

MEDIUM · 6.3 CVSS v4.0 Published 2026-07-15
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
67/100
Remediation priority · Elevated
Remotely reachable Patch available 5 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
DataEase is an open source data visualization and analysis tool. Prior to 2.10.23, DataEase template static resources let authenticated users submit TemplateManageRequest.staticResource through POST /de2api/templateManage/save or DataVisualizationServer.decompression, after which StaticResourceServer.saveFilesToServe and StaticResourceServer.saveSingleFileToServe write Base64-decoded .svg content to /de2api/static-resource/<name>.svg without validating extension, MIME type, decoded bytes, or SVG scriptability, causing stored same-origin cross-site scripting when a victim loads the resource. This issue is fixed in version 2.10.23.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

DataEase allows authenticated users to upload Base64-decoded SVG files through the template management API endpoints (/de2api/templateManage/save and DataVisualizationServer.decompression) without validating the file extension, MIME type, decoded content, or SVG scriptability. The uploaded files are stored to /de2api/static-resource/<name>.svg and served to other users, enabling stored same-origin cross-site scripting (XSS) when victims access the malicious SVG.

MitigationUpgrade to DataEase version 2.10.23 or later, which includes proper validation of file extensions, MIME types, and SVG content sanitization. If immediate upgrade is not possible, restrict access to the affected API endpoints and implement input validation to reject SVG files containing script elements.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
Authentication
X
User interaction
P
Scope
X

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed DataEase version
    Check the DataEase application version through its web interface (typically in About or Settings) or by querying the application's API/version endpoint. Compare this version number against 2.10.23.
    Affected if The installed version is lower than 2.10.23 (e.g., 2.10.0 through 2.10.22).
  2. Confirm API endpoint exposure
    Verify that the endpoints /de2api/templateManage/save and the DataVisualizationServer.decompression method are accessible on the server. This can be done by attempting to access these paths via HTTP GET or POST requests from an authenticated session.
    Affected if These API endpoints are reachable and accept requests without additional security controls.
  3. Examine static resource directory for SVG files
    Inspect the /de2api/static-resource/ directory on the web server (if accessible) or review uploaded template files. Look for any .svg files present in this location.
    Affected if SVG files exist in /de2api/static-resource/ that were uploaded by users.
  4. Analyze SVG file contents for script elements
    Open and review the content of any SVG files found in the static-resource directory. Specifically look for <script> tags, javascript: URIs, event handler attributes (onclick, onload, etc.), or embedded executable content.
    Affected if Any SVG file contains script elements, javascript: handlers, or other scriptable content (SVG with <script>, event handlers, or embedded objects).
  5. Check if SVG files are being served to users
    Verify that SVG files from /de2api/static-resource/ are accessible via web browser to other users (not just the uploader). Attempt to access a known SVG file URL from an incognito or different authenticated session.
    Affected if SVG files are served to other users without sanitization, allowing the XSS payload to execute in their browsers.

You are affected if DataEase version is below 2.10.23 AND the application serves uploaded SVG files from /de2api/static-resource/ that contain scriptable content.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Upgrade to DataEase version 2.10.23 or later, which includes proper validation of file extensions, MIME types, and SVG content sanitization. If immediate upgrade is not possible, restrict access to the affected API endpoints and implement input validation to reject SVG files containing script elements.

Recommended fix High confidence

2.10.23

  1. 1. Backup your current DataEase installation and database before upgrading.
  2. 2. Stop the DataEase service to prevent any active sessions during the upgrade.
  3. 3. Download DataEase version 2.10.23 from the official GitHub releases page (github.com/dataease/dataease).
  4. 4. Follow the standard DataEase upgrade procedure for your deployment method (Docker, Kubernetes, or direct installation).
  5. 5. Start the DataEase service and verify it is running correctly.
  6. 6. Confirm the upgrade to version 2.10.23 by checking the About or version information in the DataEase admin panel.
Caveat Review release notes for any configuration or feature changes between your current version and 2.10.23

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-49867 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-49867 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data