{"id":"EUVD-2026-31154","enisaUuid":"9e5301b4-bcc1-3a57-8788-b6b5a1c8cc65","description":"CryptPad is an end-to-end encrypted collaborative office suite. In versions prior to 2026.2.0, the HTML sanitizer in Diffmarked.js can be bypassed due to incomplete attribute filtering on restricted tags. The sanitizer validates only the src attribute of \u003ciframe\u003e, \u003cvideo\u003e, and \u003caudio\u003e elements, leaving all other attributes unchecked. As a result, an attacker can inject arbitrary HTML through srcdoc, completely defeating CryptPad\u0027s intended bounce sandboxing and enabling link injection or other interactive content within user-controlled documents. The root cause lies in how the sanitizer classifies and enforces tag restrictions: although it defines both forbidden and restricted tag lists, \u003ciframe\u003e is treated as \"restricted\" rather than \"forbidden.\" Enforcement then inspects only the src attribute, so pairing a benign blob: src with a malicious srcdoc results in unrestricted rendering. This issue has been fixed in version 2026.2.0.","datePublished":"May 20, 2026, 6:51:43 PM","dateUpdated":"May 20, 2026, 7:33:12 PM","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/cryptpad/cryptpad/security/advisories/GHSA-g2g4-47gv-p72v\nhttps://github.com/cryptpad/cryptpad/releases/tag/2026.2.0\n","aliases":"CVE-2026-26028\nGHSA-g2g4-47gv-p72v\n","assigner":"GitHub_M","epss":0.24,"enisaIdProduct":[{"id":"7bbcab35-d924-316c-ae93-12c97b7460f3","product":{"name":"cryptpad","vendor":{"name":"cryptpad"}},"product_version":"\u003c 2026.2.0"}],"enisaIdVendor":[{"id":"cd268ce6-b533-34c8-8892-613353e84eeb","vendor":{"name":"cryptpad"}}],"enisaIdVulnerability":[{"id":"3f8ac05b-46d8-3602-a7f5-9a8162681300","vulnerability":{"id":"CVE-2026-26028","description":"CryptPad is an end-to-end encrypted collaborative office suite. In versions prior to 2026.2.0, the HTML sanitizer in Diffmarked.js can be bypassed due to incomplete attribute filtering on restricted tags. The sanitizer validates only the src attribute of \u003ciframe\u003e, \u003cvideo\u003e, and \u003caudio\u003e elements, leaving all other attributes unchecked. As a result, an attacker can inject arbitrary HTML through srcdoc, completely defeating CryptPad\u0027s intended bounce sandboxing and enabling link injection or other interactive content within user-controlled documents. The root cause lies in how the sanitizer classifies and enforces tag restrictions: although it defines both forbidden and restricted tag lists, \u003ciframe\u003e is treated as \"restricted\" rather than \"forbidden.\" Enforcement then inspects only the src attribute, so pairing a benign blob: src with a malicious srcdoc results in unrestricted rendering. This issue has been fixed in version 2026.2.0.","datePublished":"May 20, 2026, 6:51:43 PM","dateUpdated":"May 20, 2026, 7:33:12 PM","status":"PUBLISHED","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/cryptpad/cryptpad/security/advisories/GHSA-g2g4-47gv-p72v\nhttps://github.com/cryptpad/cryptpad/releases/tag/2026.2.0\n","enisa_id":"EUVD-2026-31154\n","assigner":"GitHub_M","epss":0.24,"dataProcessed":"Nov 21, 2026, 7:26:12 AM","vulnerabilityProduct":[{"id":"7a92512c-1fea-38cc-bd51-989b89502dfe","product":{"name":"cryptpad","vendor":{"name":"cryptpad"}},"product_version":"\u003c 2026.2.0"}],"vulnerabilityVendor":[{"id":"73f172ec-8ac9-31f6-a79a-79dea207e418","vendor":{"name":"cryptpad"}}]}},{"id":"566a2ac7-528f-32c0-93e7-acb064472185","vulnerability":{"id":"GHSA-g2g4-47gv-p72v","description":"CryptPad has a Sanitizer Bypass in Diffmarked.js that Allows Arbitrary HTML Injection and Potential XSS","datePublished":"May 26, 2026, 7:05:10 PM","dateUpdated":"May 26, 2026, 7:05:10 PM","baseScore":0.0,"references":"https://github.com/cryptpad/cryptpad/security/advisories/GHSA-g2g4-47gv-p72v\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-26028\nhttps://github.com/cryptpad/cryptpad\nhttps://github.com/cryptpad/cryptpad/releases/tag/2026.2.0\n","enisa_id":"EUVD-2026-31154\n","aliases":"CVE-2026-26028\nGHSA-g2g4-47gv-p72v\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:50:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}