Advisory record · GHSA-xp2f-9mx3-3c6p

Moodle PostScript Code Injection

CVSS 9.8 CriticalCriticalEPSS 0.086 · 95th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 26 Jul 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.9, <3.9.15 || >=3.11, <3.11.8 || >=4.0, <4.0.23.9.15, 3.11.8, 4.0.2
Identifiers
GHSA-xp2f-9mx3-3c6p · BIT-moodle-2022-35649 · CVE-2022-35649 · PKSA-wty4-thjm-zbkj
Weakness (CWE)
CWE-20 · CWE-94
Published
26 Jul 2022
Updated
24 Apr 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle (moodle/moodle) versions 3.9 before 3.9.15, 3.11 before 3.11.8, and 4.0 before 4.0.2 are affected. Improper input validation when parsing PostScript code can lead to remote code execution on sites running GhostScript older than 9.50, which may allow complete compromise of the system; the source gives few details on the exact attacker requirements. Upgrade to Moodle 3.9.15, 3.11.8, 4.0.2 or later, or upgrade GhostScript to version 9.50 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.086, the 95th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:30 UTC First seen by agentprime
  2. 31 Oct 2026, 14:30 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.