CVE-2026-27627 Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS
Stored XSS in Karakeep allows attackers to execute arbitrary scripts in user browsers via unsanitized Reddit content.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-27627?
CVE-2026-27627 is a high-severity cross-site scripting vulnerability in karakeep-app karakeep, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-27627?
It affects 1 product.
Products include Localhostlabs Karakeep.
How do I fix CVE-2026-27627?
No fix has been published for CVE-2026-27627 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-27627 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27627 exists.
Sources
Also known as GHSA-mg93-f9mw-wpgj.