CVE-2026-54049

HIGHPre-NVD 8.78.7
EchelonGraph scoreHIGH confidence

Score 8.7 from GitHub Security Advisory (severity: HIGH) published 2026-08-24. the CNA's CVSS baseline 8.7; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:github_m, ghsa
8.7EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: CVSS: 8.7Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Sakai Conversations has a Stored XSS Issue

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.js lines 429, 432: ${unsafeHTML(this.post.message)}
  • SakaiTopic.js line 679: ${unsafeHTML(this.topic.message)}
  • SakaiComment.js line 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=
Content-Type: application/json

{"title":"XSS Test Topic","message":"","type":"QUESTION","visibility":"SITE","draft":false}

Response: HTTP 200, "message":"" - 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 =

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=
Content-Type: application/json

{"message":"alert(document.cookie)<\/script>","siteId":"BELP_275K_7418"}

Response: HTTP 200, "message":"alert(document.cookie)" - 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 = alert(document.cookie)

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.

CVSS v3
8.7
EG Score
8.7(high)
EG Risk
44(Track)
EG Risk 44/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity87% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
EPSS %ILE
KEV
Not listed

Published

August 24, 2026

Last Modified

August 24, 2026

Vendor Advisories for CVE-2026-54049(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(3)

Vendor / EcosystemFixed in / PatchReleasedSource
mavenorg.sakaiproject.conversations:sakai-conversations-implghsa
mavenorg.sakaiproject.kernel:sakai-kernel-implghsa
mavenorg.sakaiproject.rubrics:rubrics-implghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 12× in last 7d / 12× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-30 06:27 UTCGHSA enrichment
  2. 2026-08-29 17:33 UTCGHSA enrichment
  3. 2026-08-29 03:41 UTCGHSA enrichment
  4. 2026-08-28 14:45 UTCGHSA enrichment
  5. 2026-08-28 01:46 UTCGHSA enrichment
  6. 2026-08-27 12:53 UTCGHSA enrichment
  7. 2026-08-27 00:00 UTCGHSA enrichment
  8. 2026-08-26 11:06 UTCGHSA enrichment
  9. 2026-08-25 22:09 UTCGHSA enrichment
  10. 2026-08-25 09:16 UTCGHSA enrichment
  11. 2026-08-24 20:22 UTCEG score recompute
  12. 2026-08-24 20:22 UTCGHSA enrichment

Frequently asked(4)

What is CVE-2026-54049?
CVE-2026-54049 is a high vulnerability published on August 24, 2026. Sakai Conversations has a Stored XSS Issue 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…
When was CVE-2026-54049 disclosed?
CVE-2026-54049 was first published in the National Vulnerability Database on August 24, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-54049?
CVE-2026-54049 has a CVSS v4.0 base score of 8.7 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-54049?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-54049, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-54049

Explore →

Is Your Infrastructure Affected by CVE-2026-54049?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.