Home / hedgedoc / hedgedoc / CVE-2025-32391
CVE-2025-32391: is it exploited, and which versions of hedgedoc are affected and fixed?
CVE-2025-32391 is a cross-site scripting (XSS) vulnerability in hedgedoc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: hedgedoc < 1.10.3 (CVE record by GitHub_M). Fixed in 1.10.3 (NVD). Severity: Medium (6.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-32391?
HedgeDoc allows XSS possibility through malicious SVG uploads
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.
From the CVE record by GitHub_M, last updated April 10, 2025, 13:34 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hedgedoc | hedgedoc | < 1.10.3 |
As the CVE record by GitHub_M states it, last updated April 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hedgedoc | hedgedoc | before 1.10.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:11 UTC.
How severe is CVE-2025-32391?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| Medium 4.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-32391 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 10, 2025)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-3983-rrqh-mvx5 x_refsource_CONFIRM
- https://github.com/hedgedoc/hedgedoc/commit/0636b5c20b7097afccfa6641830352ad068ef964 x_refsource_MISC
- https://github.com/hedgedoc/hedgedoc/commit/3f520ea59abf912c66d7443cb99f29a567c47748 x_refsource_MISC
- https://github.com/hedgedoc/hedgedoc/commit/d2585fbd3b398b3359f6f88aa1fda8f4ecf2f78d x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 6, 2025
- Published
- April 10, 2025, 13:11 UTC
- CVE record updated
- April 10, 2025, 13:34 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:11 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect hedgedoc?
- Nov 22, 2026CVE-2026-134794 HedgeDoc: prototype pollution
- Nov 5, 2026CVE-2026-102927 hedgedoc: improper input validation
- Jul 13, 2026CVE-2026-58489 hedgedoc: cross-site request forgery (CSRF)
- Jul 13, 2026CVE-2026-58486 hedgedoc: denial of service (uncontrolled resource consumption)
- Jul 13, 2026CVE-2026-58487 hedgedoc: cross-site scripting (XSS)
- Jul 13, 2026CVE-2026-58488 hedgedoc: authentication bypass by spoofing
- Feb 6, 2026CVE-2026-25642 hedgedoc: cross-site scripting (XSS)
- Dec 5, 2025CVE-2025-66629 hedgedoc: cross-site request forgery (CSRF)
Questions about CVE-2025-32391
Is CVE-2025-32391 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of hedgedoc are affected by CVE-2025-32391?
hedgedoc < 1.10.3, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-32391?
1.10.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-32391?
Medium (6.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-32391?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.