The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27627

CVE-2026-27627: Karakeep Bookmark App XSS Vulnerability

CVE-2026-27627 is a cross-site scripting vulnerability in Karakeep's Reddit metascraper that bypasses DOMPurify sanitization. Attackers can execute malicious scripts in users' browsers. This article covers affected versions and patches.

Published: February 27, 2026

CVE-2026-27627 Overview

CVE-2026-27627 is a Cross-Site Scripting (XSS) vulnerability in Karakeep, a self-hostable bookmark-everything application. The vulnerability exists in version 0.30.0 where the Reddit metascraper plugin fails to sanitize HTML content before rendering it in the user's browser. When the Reddit metascraper returns readableContentHtml, the HTML parsing subprocess uses it directly without running it through DOMPurify, allowing malicious HTML to execute in the context of the user's session.

Critical Impact

Attackers can inject and execute arbitrary JavaScript in users' browsers through malicious Reddit content, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of authenticated users.

Affected Products

  • Karakeep version 0.30.0

Discovery Timeline

  • 2026-02-25 - CVE CVE-2026-27627 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27627

Vulnerability Analysis

This vulnerability stems from inconsistent input sanitization in Karakeep's content crawling pipeline. While most content sources in the crawler are properly sanitized through Readability and DOMPurify before being rendered, the Reddit metascraper path bypasses both of these critical security layers. The unsanitized HTML content is then passed directly to React's dangerouslySetInnerHTML property in the reader view component, which renders raw HTML without any escaping or sanitization.

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), a category of Cross-Site Scripting vulnerabilities. This type of flaw allows attackers to inject client-side scripts that execute in the context of other users' browser sessions.

Root Cause

The root cause is a missing sanitization step in the Reddit content processing path. While other content sources go through a standard pipeline that includes Readability parsing and DOMPurify sanitization, the Reddit metascraper plugin returns readableContentHtml that is used directly by the rendering component. This architectural inconsistency means that any malicious HTML embedded in Reddit content—whether from a compromised Reddit post or a malicious API response—will be executed when the bookmark is viewed.

Attack Vector

The attack leverages the network-based delivery of malicious content through the Reddit metascraper functionality. An attacker could craft or manipulate Reddit content containing malicious JavaScript payloads. When a Karakeep user bookmarks this content, the unsanitized HTML is stored and later executed in the user's browser when viewing the bookmark in the reader view.

The vulnerability requires user interaction (bookmarking malicious Reddit content and viewing it), but no authentication is required from the attacker's perspective. The impact is significant as the malicious script executes with the same privileges as the authenticated user, potentially enabling:

  • Session token theft via document.cookie access
  • Keylogging and credential harvesting
  • Unauthorized actions performed on behalf of the user
  • Phishing attacks through DOM manipulation
  • Exfiltration of sensitive bookmark data

Detection Methods for CVE-2026-27627

Indicators of Compromise

  • Unexpected JavaScript execution when viewing Reddit-sourced bookmarks
  • Unusual network requests originating from the Karakeep reader view to external domains
  • Modified or injected DOM elements in bookmark content that were not part of the original Reddit post
  • Browser console errors or warnings related to XSS-related content security policy violations

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor browser developer tools for unexpected script injection in the reader view component
  • Review stored bookmark content for suspicious HTML tags such as <script>, <iframe>, or event handlers like onerror, onload
  • Audit application logs for unusual Reddit metascraper activity or malformed responses

Monitoring Recommendations

  • Enable CSP reporting to capture attempted XSS attacks in production environments
  • Monitor for anomalous outbound network connections from user browser sessions
  • Implement client-side integrity monitoring for the reader view component
  • Set up alerts for unusual patterns in bookmarked Reddit content

How to Mitigate CVE-2026-27627

Immediate Actions Required

  • Upgrade Karakeep to version 0.31.0 or later immediately
  • Review existing bookmarks from Reddit sources for potentially malicious content
  • Clear browser cache and storage for Karakeep instances running vulnerable versions
  • Advise users to log out and re-authenticate after applying the patch to invalidate potentially compromised sessions

Patch Information

The vulnerability has been patched in Karakeep version 0.31.0. The fix ensures that all content sources, including the Reddit metascraper, go through proper sanitization via DOMPurify before being rendered in the reader view. Users should upgrade immediately by pulling the latest release.

For technical details on the patch implementation, refer to the GitHub commit ba3db953c0d8675e2e3ecc29113a332b570b2cb9. The official release notes are available at GitHub Release v0.31.0, and the security advisory can be found at GHSA-mg93-f9mw-wpgj.

Workarounds

  • Disable or avoid using the Reddit bookmark functionality until the patch is applied
  • Implement a reverse proxy or web application firewall (WAF) rule to strip potentially malicious HTML from Reddit-sourced content
  • Deploy Content Security Policy headers with strict script-src directives to prevent inline script execution
  • Temporarily disable the reader view feature and use external links only for Reddit bookmarks
bash
# Example CSP header configuration for nginx
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; object-src 'none';" always;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechKarakeep

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Details

  • GitHub Release v0.31.0

  • GitHub Security Advisory GHSA-mg93-f9mw-wpgj
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English