CVE-2025-52902
Wolfi vulnerability analysis and mitigation

Overview

File Browser, a file managing interface application, was discovered to contain a Stored Cross-Site Scripting (XSS) vulnerability (CVE-2025-52902) in its Markdown preview function. The vulnerability was identified on March 25, 2025, and publicly disclosed on June 26, 2025. The issue affects all versions of File Browser before v2.33.7, where any JavaScript code embedded within a Markdown file uploaded by a user could be executed by the browser (GitHub Advisory).

Technical details

The vulnerability stems from the application's Markdown parser accepting and rendering arbitrary HTML elements without proper sanitization. When a user uploads a malicious Markdown file containing HTML with embedded JavaScript, the renderer attempts to display the content and executes any included code in the victim's browser context. The vulnerability received a CVSS v3.1 base score of 7.6 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N, indicating network attack vector, low attack complexity, low privileges required, and user interaction required (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers when they view a malicious Markdown file. This can lead to serious security implications including the theft of user session tokens and potential privilege escalation if the victim is an administrator. In cases where administrative access is compromised, the attacker could potentially gain command execution rights (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.33.7 through the implementation of DOMPurify, an HTML sanitizer. The fix involves sanitizing the HTML content before rendering it in the preview. Organizations are strongly advised to upgrade to version 2.33.7 or later. For those unable to upgrade immediately, it is recommended to reconfigure the Markdown parser to ignore HTML elements and only render text within the Markdown specification (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66034CRITICAL9.8
  • PythonPython
  • mlflow
NoYesNov 29, 2025
CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • kibana-8.19
NoYesNov 26, 2025
CVE-2025-10543MEDIUM6.3
  • MinIOMinIO
  • dapr-fips-1.15
NoYesDec 02, 2025
CVE-2025-66221MEDIUM6.3
  • PythonPython
  • superset-4.1
NoYesNov 29, 2025
CVE-2025-3261MEDIUM6.2
  • JavaJava
  • thingsboard
NoYesNov 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management