{"id":"CVE-2026-27627","state":"PUBLISHED","title":"Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS","description":"Karakeep is a elf-hostable bookmark-everything app. In version 0.30.0, when the Reddit metascraper plugin returns `readableContentHtml`, the HTML parsing subprocess uses it directly without running it through DOMPurify. Every other content source in the crawler goes through Readability + DOMPurify, but the Reddit path skips both. Since this content ends up in `dangerouslySetInnerHTML` in the reader view, any malicious HTML in the Reddit response gets executed in the user's browser. Version 0.31.0 contains a patch for this issue.","publishedAt":"2026-02-25T03:48:07.431Z","updatedAt":"2026-02-25T21:20:03.257Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["karakeep-app karakeep"],"affected":[{"vendor":"karakeep-app","product":"karakeep","versions":[{"version":"= 0.30.0","status":"affected"}]}],"references":["https://github.com/karakeep-app/karakeep/security/advisories/GHSA-mg93-f9mw-wpgj","https://github.com/karakeep-app/karakeep/commit/ba3db953c0d8675e2e3ecc29113a332b570b2cb9","https://github.com/karakeep-app/karakeep/releases/tag/v0.31.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27627.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27627","state":"PUBLISHED","datePublished":"2026-02-25T03:48:07.431Z","dateUpdated":"2026-02-25T21:20:03.257Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-20T22:02:30.027Z"},"containers":{"cna":{"title":"Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS","descriptions":[{"lang":"en","value":"Karakeep is a elf-hostable bookmark-everything app. In version 0.30.0, when the Reddit metascraper plugin returns `readableContentHtml`, the HTML parsing subprocess uses it directly without running it through DOMPurify. Every other content source in the crawler goes through Readability + DOMPurify, but the Reddit path skips both. Since this content ends up in `dangerouslySetInnerHTML` in the reader view, any malicious HTML in the Reddit response gets executed in the user's browser. Version 0.31.0 contains a patch for this issue."}],"affected":[{"vendor":"karakeep-app","product":"karakeep","versions":[{"version":"= 0.30.0","status":"affected"}]}],"references":[{"url":"https://github.com/karakeep-app/karakeep/security/advisories/GHSA-mg93-f9mw-wpgj","name":"https://github.com/karakeep-app/karakeep/security/advisories/GHSA-mg93-f9mw-wpgj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/karakeep-app/karakeep/commit/ba3db953c0d8675e2e3ecc29113a332b570b2cb9","name":"https://github.com/karakeep-app/karakeep/commit/ba3db953c0d8675e2e3ecc29113a332b570b2cb9","tags":["x_refsource_MISC"]},{"url":"https://github.com/karakeep-app/karakeep/releases/tag/v0.31.0","name":"https://github.com/karakeep-app/karakeep/releases/tag/v0.31.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/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-25T03:48:07.431Z"},"source":{"advisory":"GHSA-mg93-f9mw-wpgj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-25T21:19:52.460762Z","id":"CVE-2026-27627","options":[{"Exploitation":"poc"},{"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-25T21:20:03.257Z"}}]}}}