Skip to content
Heist/ feed
MediumFix available

Moodle: xss in forum post templates due to insufficient escaping

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

BIT-moodle-2026-102581

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:BIT-moodle-2026-102581

moodle

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
4.5.13

Source reference: /affected/0/ranges

5.0.9

Source reference: /affected/0/ranges

5.1.6

Source reference: /affected/0/ranges

5.2.2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.5.13"
          },
          {
            "introduced": "5.0.0"
          },
          {
            "fixed": "5.0.9"
          },
          {
            "introduced": "5.1.0"
          },
          {
            "fixed": "5.1.6"
          },
          {
            "introduced": "5.2.0"
          },
          {
            "fixed": "5.2.2"
          }
        ]
      }
    ],
    "package": {
      "name": "moodle",
      "purl": "pkg:bitnami/moodle",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V3",
        "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2026-102581.json"
    }
  }
]
Related CVEs
CVE-2026-102581

Source reference: /aliases

Publisher severity

medium

Source reference: /database_specific/severity

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#84116 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement