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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-27570

CVE-2026-27570: Discourse XSS Vulnerability

CVE-2026-27570 is a cross-site scripting vulnerability in Discourse that occurs when conversation titles are rendered without proper sanitization. This article covers technical details, affected versions, and mitigation.

Updated: May 14, 2026

CVE-2026-27570 Overview

CVE-2026-27570 is a stored cross-site scripting (XSS) vulnerability in Discourse, an open-source discussion platform. The onebox method in the SharedAiConversation model renders the conversation title directly into HTML without proper sanitization. An attacker who can create or influence a shared AI conversation title can inject HTML or JavaScript that executes when other users render the onebox preview. The issue is tracked under [CWE-79] and is fixed in versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2.

Critical Impact

Low-privileged users can inject scripts into AI conversation titles, leading to session theft, account takeover, or actions performed in the victim's context when the onebox renders.

Affected Products

  • Discourse versions prior to 2026.3.0-latest.1
  • Discourse versions prior to 2026.2.1
  • Discourse versions prior to 2026.1.2

Discovery Timeline

  • 2026-03-19 - CVE-2026-27570 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-27570

Vulnerability Analysis

The vulnerability resides in the onebox method of the SharedAiConversation model. Discourse uses oneboxes to render rich previews of internal and external links inside posts. When a shared AI conversation link is oneboxed, the conversation title is injected into the resulting HTML fragment without being escaped or sanitized.

Because the title field accepts attacker-controlled text, an actor with permission to create a shared AI conversation can craft a title containing HTML tags or inline JavaScript. When another user views a post that oneboxes the malicious shared conversation, the browser parses and executes the injected markup in the context of the Discourse origin.

Exploitation requires that the actor belongs to a group permitted by the ai_bot_public_sharing_allowed_groups setting. User interaction is also required, since a victim must render a page that contains the onebox.

Root Cause

The root cause is missing output encoding on a user-controlled string. The onebox method concatenates the conversation title into an HTML template instead of routing it through Discourse's existing HTML escaping helpers. This violates the standard pattern of treating any persisted user input as untrusted at render time.

Attack Vector

The attack vector is network-based and requires low privileges plus user interaction. An authenticated member of an allowed sharing group creates a shared AI conversation with a title containing an XSS payload. The attacker then posts a link to the shared conversation in any topic where it will be oneboxed. Any user viewing that topic triggers script execution in their authenticated browser session.

The security advisory and patch commits are available in the upstream repository. See the GitHub Security Advisory GHSA-hfxw-89hw-vwmv for technical details and the fix commits (43a5a60, c14f8f5, f2aafa5).

Detection Methods for CVE-2026-27570

Indicators of Compromise

  • Shared AI conversation titles containing HTML tags such as <script>, <img onerror=...>, or <svg onload=...>.
  • Outbound requests from user browsers to attacker-controlled domains shortly after rendering posts that contain AI conversation oneboxes.
  • Unexpected session token, API key, or CSRF token exfiltration patterns in web proxy logs originating from authenticated Discourse sessions.

Detection Strategies

  • Query the shared_ai_conversations table for title values containing angle brackets, javascript: URIs, or event handler attributes such as onerror= and onload=.
  • Inspect rendered post HTML for oneboxes referencing shared AI conversations and verify titles are HTML-escaped.
  • Review Content Security Policy (CSP) violation reports for inline script or unsafe-eval events on pages hosting oneboxes.

Monitoring Recommendations

  • Enable and forward Discourse application and Nginx access logs to a centralized log platform for correlation across user sessions.
  • Alert on creation of shared AI conversations followed by rapid link distribution to multiple high-traffic topics.
  • Track user-agent and IP anomalies on accounts within the ai_bot_public_sharing_allowed_groups group.

How to Mitigate CVE-2026-27570

Immediate Actions Required

  • Upgrade Discourse to 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 depending on your release channel.
  • Audit existing shared AI conversation titles for malicious markup and remove or sanitize any suspicious records.
  • Rotate session secrets and API keys for any accounts that may have rendered a malicious onebox.

Patch Information

The fix is delivered in Discourse versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2. The patch is implemented across three commits that ensure the conversation title is properly escaped before being rendered into the onebox HTML. Refer to the GitHub Security Advisory GHSA-hfxw-89hw-vwmv for the authoritative fix description.

Workarounds

  • Tighten access by changing the ai_bot_public_sharing_allowed_groups site setting to restrict shared AI conversation creation to a small, trusted group of users.
  • Disable AI bot public sharing entirely until the upgrade is applied if the feature is not in active use.
  • Enforce a strict Content Security Policy that blocks inline scripts to reduce the impact of stored XSS payloads.
bash
# Restrict AI bot public sharing to staff only via the Discourse admin UI
# Admin > Settings > search: ai_bot_public_sharing_allowed_groups
# Set value to: staff
#
# Or via the Rails console:
SiteSetting.ai_bot_public_sharing_allowed_groups = "3"  # group id for staff

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechDiscourse

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Changes

  • GitHub Commit Adjustment

  • GitHub Security Advisory GHSA-hfxw-89hw-vwmv
  • Related CVEs
  • CVE-2026-32243: Discourse XSS Vulnerability

  • CVE-2026-32273: Discourse XSS Vulnerability

  • CVE-2026-32607: Discourse XSS Vulnerability

  • CVE-2026-33411: Discourse Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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