Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-32391

6.4 · MEDIUM
Published Apr 10, 2025 hedgedoc CWE-79 EPSS 0.31% (23th pctl)

Overview

CVE-2025-32391 is a medium-severity vulnerability affecting hedgedoc hedgedoc. It was published on April 10, 2025 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to 1.10.3, a malicious SVG file uploaded to HedgeDoc results in the possibility of XSS when opened in a new tab instead of the editor itself. The XSS is possible by exploiting the JSONP capabilities of GitHub Gist embeddings. Only instances with the local filesystem upload backend or special configurations, where the uploads are served from the same domain as HedgeDoc, are vulnerable. This vulnerability is fixed in 1.10.3. When upgrading to HedgeDoc 1.10.3 is not possible, instance owners could add the following headers for all routes under /uploads as a first-countermeasure: Content-Disposition: attachment and Content-Security-Policy: default-src 'none'. Additionally, the external URLs in the script-src attribute of the Content-Security-Policy header should be removed.

Remediation

Check the references section for vendor advisories and patches from hedgedoc. Update hedgedoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
hedgedoc hedgedoc >= 0, < 1.10.3 Affected

Frequently Asked Questions

What is CVE-2025-32391?

CVE-2025-32391 is a medium-severity vulnerability affecting hedgedoc hedgedoc. It was published on April 10, 2025 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

How severe is CVE-2025-32391?

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-32391?

Check the references section for vendor advisories and patches from hedgedoc. Update hedgedoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-32391?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-32391 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.