{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27627 exists.","fix":"No fix has been published for CVE-2026-27627 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-27627 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27627 exists.\n\nAffected product: karakeep-app karakeep. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27627/ (Markdown: https://insights.sbomify.com/CVE-2026-27627/index.md)","id":"CVE-2026-27627","markdown":"https://insights.sbomify.com/CVE-2026-27627/index.md","name":"CVE-2026-27627","record":{"aliases":["GHSA-mg93-f9mw-wpgj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Karakeep bookmark app","requires_auth":"none","summary":"Stored XSS in Karakeep allows attackers to execute arbitrary scripts in user browsers via unsanitized Reddit content.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"karakeep","vendor":"localhostlabs"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS","id":"CVE-2026-27627","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams","id":"CVE-2026-27628"},"packages":[],"prev":{"headline":"OliveTin: OS Command Injection via `password` argument type and webhook JSON extraction bypasses shell safety checks","id":"CVE-2026-27626"},"products":["karakeep"],"published":"2026-02-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["karakeep-app"]},"summary":"Stored XSS in Karakeep allows attackers to execute arbitrary scripts in user browsers via unsanitized Reddit content.","url":"https://insights.sbomify.com/CVE-2026-27627/"}