Back to CVE records
Medium 4.6Published Sep 30, 2026

CVE-2026-102581Moodle: xss in forum post templates due to insufficient escaping

Updated under an hour ago ()

Does this affect you?

It affects moodle. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

A flaw was found in Moodle. Insufficient output escaping in templates used to display forum posts enables a stored cross-site scripting (XSS) vulnerability. An attacker can inject malicious content into a forum post, which then executes arbitrary script code in the browser of another user viewing the affected post.

CVSS
4.6 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
fedora
NVD analysis
Analyzed
Record last updated
Sep 30, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
moodle moodle
moodle:moodle
before 4.5.13; from 5.0.0 before 5.0.9; from 5.1.0 before 5.1.6; from 5.2.0 before 5.2.2
NVD

References

  • patch
  • vdb-entry, x-refsource-redhat, third-party-advisory
  • issue-tracking, x-refsource-redhat, third-party-advisory
  • vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.