Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as any site member (student or higher)
-
DeliveryPOST XSS payload in message field to /api/sites/{siteId}/topics or /posts
-
ExploitConversationsServiceImpl persists raw HTML to database without sanitization
-
InstallVictim user opens Conversations view in browser
-
C2LitElement fetches stored content via REST API
-
ExecuteunsafeHTML() renders injected payload without escaping
-
ImpactInjected JavaScript exfiltrates session cookies or performs authenticated actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Sakai Conversations tool must be actively enabled on the target site - it is not enabled by default on all sites and must be added by an administrator or instructor. The attacker must hold any authenticated membership in that site (student role or higher satisfies the PR:L requirement). Victim exploitation additionally requires that the victim navigates to and views the Conversations topic, post, or comment containing the payload (UI:R). Unauthenticated exploitation is not possible per the CVSS PR:L vector. Exploitation is constrained to sites where Conversations is enabled; sites using only other Sakai tools (Announcements, Assignments, Resources) are unaffected since those tools apply the missing sanitization. No special network position, operating system, or browser configuration is required beyond authenticated network access to the Sakai instance. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, score 8.7) accurately characterizes this threat: network-accessible, low complexity, requiring only student-level authentication, with Changed Scope reflecting cross-user browser compromise and high confidentiality and integrity impacts from session hijacking and gradebook exfiltration. No EPSS score was provided in the intelligence feed, and this CVE is not currently listed in CISA KEV, so no confirmed active exploitation exists. However, a fully weaponized proof-of-concept with database verification steps is publicly disclosed in the GitHub security advisory (GHSA-w2x5-gv52-9ccv), dramatically lowering the bar for exploitation. The educational deployment context amplifies risk: a single post in a large course section propagates the attack to hundreds of victims without any additional attacker effort. Real-world priority should be treated as high for any Sakai 23.x deployment with the Conversations tool enabled, despite the absence of KEV status. |
| Exploit ScenarioDerived | A student enrolled in a large lecture course navigates to the Conversations tool and creates a new topic with the message body set to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Stored XSS in Sakai Conversations (versions 23.0-23.3) allows any authenticated site member - including students - to inject arbitrary HTML and JavaScript into topics, posts, or comments that subsequently execute in the browsers of every user who views that content. The Conversations REST API accepts raw HTML in message fields without invoking Sakai's standard FormattedText.processFormattedText() sanitizer, and the LitElement frontend renders stored content via unsafeHTML() with no secondary defense. A detailed proof-of-concept including cookie exfiltration and database verification is publicly available in the GitHub security advisory; no active exploitation is confirmed via CISA KEV. In university deployments with hundreds of students per course, a single malicious post can compromise all enrolled users simultaneously.
RemediationAI
Upgrade to Sakai 23.5 or later, which incorporates the fix committed on 2026-06-02 (commit 2696b4b48cbef2e81512f52f84f7477adff78b27). The fix introduces sanitizeFormattedText() in ConversationsServiceImpl that invokes FormattedText.processFormattedText(text, null, FormattedText.Level.HIGH) before persisting topics, posts, comments, and settings guidelines. Note that the patched release version 23.5 is referenced in the GitHub tag (https://github.com/sakaiproject/sakai/releases/tag/23.5) but is described as an upstream fix commit only - the released patched version is not independently confirmed via NVD at time of analysis. As a compensating control, administrators can disable the Conversations tool at the site or institutional level via Sakai's site setup; this fully prevents exploitation but eliminates the discussion functionality for all courses. No partial mitigation (e.g., WAF rules) is reliably effective for stored XSS in a rich-text context with legitimate HTML use cases. See advisory https://github.com/sakaiproject/sakai/security/advisories/GHSA-w2x5-gv52-9ccv for full details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause (CWE-79, Improper Neutralization of Input During Web Page Generation) is a dual-layer failure: storage and rendering. At the service layer, ConversationsServiceImpl.saveTopic(), savePost(), and saveComment() persist the user-supplied message field directly to conv_topics.MESSAGE, conv_posts, and conv_comments respectively, without calling FormattedText.processFormattedText() - the sanitizer that Sakai's Announcements, Assignments, and Resources tools all invoke. On the frontend, SakaiTopic.js (line 679), SakaiPost.js (lines 429, 432), and SakaiComment.js (line 148) all render the stored field using LitElement's unsafeHTML() directive, which explicitly bypasses the framework's normal HTML escaping. Affected Maven artifacts per CPE data are org.sakaiproject.conversations:sakai-conversations-impl, org.sakaiproject.kernel:sakai-kernel-impl, and org.sakaiproject.rubrics:rubrics-impl, all in the range 23.0-23.3.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Network-accessible REST API with PR:L (student enrollment sufficient); scope change to all viewing victims' browsers; C:H/I:H for session hijacking and impersonation; A:N as availability is unaffected.
Primary rating from Vendor (https://github.com/sakaiproject/sakai).
CVSS VectorVendor: https://github.com/sakaiproject/sakai
DescriptionCVE.org
Summary
The Sakai Conversations tool stores topic and post messages without HTML sanitization, and the frontend renders them using LitElement's unsafeHTML() directive, resulting in stored cross-site scripting (XSS). Any authenticated user with access to a site that has the Conversations tool enabled can inject arbitrary HTML and JavaScript that executes in the browsers of all other users who view that topic or post.
Description
The Conversations REST API endpoint POST /api/sites/{siteId}/topics accepts a message field in the JSON request body. The service layer (ConversationsServiceImpl) stores the message directly to the database (conv_topics.MESSAGE) without invoking FormattedText.processFormattedText() or any equivalent HTML sanitizer.
The same issue affects post replies via POST /api/sites/{siteId}/topics/{topicId}/posts and comments stored in conv_comments.
On the frontend, SakaiTopic.js, SakaiPost.js, and SakaiComment.js all render the message field using LitElement's unsafeHTML() directive:
SakaiPost.jslines 429, 432:${unsafeHTML(this.post.message)}SakaiTopic.jsline 679:${unsafeHTML(this.topic.message)}SakaiComment.jsline 148:${unsafeHTML(this.comment.message)}
Unlike other Sakai tools (Announcements, Assignments, Resources) which call FormattedText.processFormattedText() before persisting user content, the Conversations implementation has no equivalent protection at storage time or render time.
Proof of Concept
Setup: Admin/instructor session on a site with the Conversations tool enabled (siteId BELP_275K_7418).
Step 1 - Inject XSS payload in topic:
POST /api/sites/BELP_275K_7418/topics HTTP/1.1
Host: localhost:9107
Cookie: SAKAIID=<authenticated-session>
Content-Type: application/json
{"title":"XSS Test Topic","message":"<img src=x onerror=alert(1)>","type":"QUESTION","visibility":"SITE","draft":false}Response: HTTP 200, "message":"<img src=x onerror=alert(1)>" - raw HTML stored.
Step 2 - Verify stored in database:
SELECT TOPIC_ID, TITLE, MESSAGE FROM conv_topics
WHERE TOPIC_ID='e4c599c2-bd32-4364-9cbd-a5c9c102edfb';
-- Result: MESSAGE = <img src=x onerror=alert(1)>Step 3 - Inject XSS payload in post reply:
POST /api/sites/BELP_275K_7418/topics/e4c599c2-bd32-4364-9cbd-a5c9c102edfb/posts HTTP/1.1
Host: localhost:9107
Cookie: SAKAIID=<authenticated-session>
Content-Type: application/json
{"message":"<script>alert(document.cookie)<\/script>","siteId":"BELP_275K_7418"}Response: HTTP 200, "message":"<script>alert(document.cookie)</script>" - raw script stored.
Step 4 - Verify in database:
SELECT POST_ID, MESSAGE FROM conv_posts
WHERE POST_ID='e3cf7aed-c630-448a-89bb-27a8baacd269';
-- Result: MESSAGE = <script>alert(document.cookie)</script>When any site member loads the Conversations view, the LitElement web component fetches the stored messages via the REST API and renders them with unsafeHTML(), causing the injected scripts and event handlers to execute.
Impact
An attacker with any site membership (student role or higher) can:
- Perform actions on behalf of victims
- Exfiltrate gradebook data and course content
- In a university context with hundreds of students per course, a single malicious post can compromise all enrolled students simultaneously
Status / timeline:
- 2026-06-02: Fix committed to master (
2696b4b48cbef2e81512f52f84f7477adff78b27) - Release pending.
Executive ViewAI
Sakai Conversations versions 23.0-23.3 contain a stored cross-site scripting vulnerability that allows students and other low-privilege users to inject malicious code into course discussions, potentially compromising all instructors and students viewing affected content. In typical university deployments with hundreds of participants per course, a single malicious post can simultaneously compromise all enrolled users, threatening both educational continuity and sensitive institutional data.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-91027
GHSA-w2x5-gv52-9ccv
NVD
CVE.org
EPSS
Exploit-DB