Vulnerability

CVE-2026-59830

mediumCVSS 3.1 5.4Published 21 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Discourse is an open-source discussion platform. Prior to 2026.7.0, the post action component failed to escape user-controlled display names before interpolating them into an HTML string passed to trustHTML. A user who could choose a crafted display name could persist markup in post action descriptions. Viewing the affected user activity streams could execute attacker-controlled script in another user's browser. This issue is fixed in version 2026.7.0.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /discourse/discourse/commit/dd786594ddd088657a7e6f9fefba5bd…
  • github.com /discourse/discourse/releases/tag/v2026.7.0
  • github.com /discourse/discourse/security/advisories/GHSA-x6mf-p7cg-69rw

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning