<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T10:15:24.776915+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-w2x5-gv52-9ccv</id>
    <title>GHSA-w2x5-gv52-9ccv — Sakai Conversations has a Stored XSS Issue</title>
    <updated>2026-09-30T10:15:25.780060+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: org.sakaiproject.conversations:sakai-conversations-impl, Maven: org.sakaiproject.kernel:sakai-kernel-impl, Maven: org.sakaiproject.rubrics:rubrics-impl</p>
<p>### Summary</p>
<p>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.</p>
<p>### Description</p>
<p>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.</p>
<p>The same issue affects post replies via `POST /api/sites/{siteId}/topics/{topicId}/posts` and comments stored in `conv_comments`.</p>
<p>On the frontend, `SakaiTopic.js`, `SakaiPost.js`, and `SakaiComment.js` all render the `message` field using LitElement's `unsafeHTML()` directive:</p>
<p>- `SakaiPost.js` lines 429, 432: `${unsafeHTML(this.post.message)}`
- `SakaiTopic.js` line 679: `${unsafeHTML(this.topic.message)}`
- `SakaiComment.js` line 148: `${unsafeHTML(this.comment.message)}`</p>
<p>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.</p>
<p>##…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-w2x5-gv52-9ccv"/>
  </entry>
</feed>
