{"id":"CVE-2026-27627","summary":"Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS","details":"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.","aliases":["GHSA-mg93-f9mw-wpgj"],"modified":"2026-08-12T03:51:13.307078116Z","published":"2026-02-25T03:48:07.431Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27627.json"},"references":[{"type":"WEB","url":"https://github.com/karakeep-app/karakeep/releases/tag/v0.31.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27627.json"},{"type":"ADVISORY","url":"https://github.com/karakeep-app/karakeep/security/advisories/GHSA-mg93-f9mw-wpgj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27627"},{"type":"FIX","url":"https://github.com/karakeep-app/karakeep/commit/ba3db953c0d8675e2e3ecc29113a332b570b2cb9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/karakeep-app/karakeep","events":[{"introduced":"d472a3a1c428bad8ce2ddc0822fb5b327e9465d4"},{"fixed":"ba3db953c0d8675e2e3ecc29113a332b570b2cb9"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:localhostlabs:karakeep:0.30.0:*:*:*:*:-:*:*","extracted_events":[{"introduced":"0.30.0"},{"last_affected":"0.30.0"}]}}],"versions":["0.30.0","= 0.30.0","android/v1.8.5-0","sdk/v0.30.0","cli/v0.30.0","ios/v1.8.4-0","android/v1.8.4-0","v0.30.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27627.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}