{"id":"CVE-2026-25642","state":"PUBLISHED","title":"HedgeDoc security headers for uploaded files were not working","description":"HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to 1.10.6, files served below the /uploads/ endpoint did not use a more strict security-policy. This resulted in a too open Content-Security-Policy and furthermore opened the possibility to host malicious interactive web content (such as fake login forms) using SVG files. This vulnerability is fixed in 1.10.6.","publishedAt":"2026-02-06T19:23:59.991Z","updatedAt":"2026-02-06T20:20:58.376Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["hedgedoc hedgedoc"],"affected":[{"vendor":"hedgedoc","product":"hedgedoc","versions":[{"version":"< 1.10.6","status":"affected"}]}],"references":["https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w","https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c","https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137","https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25642.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25642","state":"PUBLISHED","datePublished":"2026-02-06T19:23:59.991Z","dateUpdated":"2026-02-06T20:20:58.376Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-04T05:15:41.791Z"},"containers":{"cna":{"title":"HedgeDoc security headers for uploaded files were not working","descriptions":[{"lang":"en","value":"HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to 1.10.6, files served below the /uploads/ endpoint did not use a more strict security-policy. This resulted in a too open Content-Security-Policy and furthermore opened the possibility to host malicious interactive web content (such as fake login forms) using SVG files. This vulnerability is fixed in 1.10.6."}],"affected":[{"vendor":"hedgedoc","product":"hedgedoc","versions":[{"version":"< 1.10.6","status":"affected"}]}],"references":[{"url":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w","name":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-x74j-jmf9-534w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c","name":"https://github.com/hedgedoc/hedgedoc/commit/74daa0e7a1cbfafd9aeb255eaf064dfe47cd401c","tags":["x_refsource_MISC"]},{"url":"https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137","name":"https://github.com/hedgedoc/hedgedoc/commit/b930fe04cee92cd4723044030bb59c36781c7137","tags":["x_refsource_MISC"]},{"url":"https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6","name":"https://github.com/hedgedoc/hedgedoc/releases/tag/1.10.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-06T19:23:59.991Z"},"source":{"advisory":"GHSA-x74j-jmf9-534w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-06T20:20:51.864945Z","id":"CVE-2026-25642","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-06T20:20:58.376Z"}}]}}}