Skip to main content

Moodle PDF Annotator CVE-2025-60506

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-21 cve@mitre.org
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged Student
  2. Delivery
    Inject JavaScript into Public Comment
  3. Exploit
    Store payload on annotated PDF
  4. Execution
    Teacher or Admin views PDF
  5. Persist
    Script executes in victim session
  6. Impact
    Hijack session or act as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated low-privileged account (e.g., Student, per PR:L) with access to a course using the Moodle PDF Annotator plugin (v1.5 release 9) and specifically its Public Comments feature, into which the attacker injects the payload. The stored script only fires when another user (Student, Teacher, or Admin) actually opens the annotated PDF, so victim interaction (UI:R) is mandatory and limits automatic/mass exploitation. Limiting factors: the attacker must already hold a valid account, the target plugin must be installed and in use, and a higher-privileged victim must view the malicious comment for impact to escalate beyond the attacker's own context.

Impact

This is a moderate, authenticated stored XSS (CVSS 5.4; CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) that should be treated as a routine-priority patch item, not an emergency. The signals are internally consistent and point to limited real-world urgency: EPSS is low at 0.22% (12th percentile), the vulnerability is NOT listed in CISA KEV, and the vuln.today decision label is 'this_month' rather than act_now/emergency. The CVSS vector confirms network attack vector with low complexity but also requires authentication (PR:L) and victim interaction (UI:R), both of which meaningfully constrain exploitation. The scope change (S:C) and C:L/I:L reflect that injected script runs in the victim's browser session rather than compromising the server directly. A public PoC reference exists (a GitHub repository and vendor-researcher blog posts) but it is not verified as working exploit code, so POC availability must not be conflated with active exploitation - there is no evidence of in-the-wild use. Net: a genuine but low-to-moderate priority issue whose risk is bounded by the authentication and user-interaction requirements.

Exploit ScenarioDerived

An attacker self-enrolls or uses an existing low-privileged Student account in a Moodle course and posts a comment containing a JavaScript payload through the PDF Annotator plugin's Public Comments feature. When a Teacher or Admin later opens the annotated PDF, the stored script executes in their authenticated browser session, enabling session hijacking or actions performed with the victim's privileges. A public PoC reference exists but is not verified as working exploit code; exploitation still depends on a higher-privileged user actually viewing the malicious comment.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Stored cross-site scripting in the Moodle PDF Annotator plugin v1.5 release 9 allows an authenticated low-privileged user, such as a Student, to inject JavaScript into Public Comments; the script executes when another Student, Teacher, or Admin opens the annotated PDF, potentially enabling session hijacking or credential theft. The plugin must be installed and the victim must interact with the malicious comment, and no public exploit code or KEV-listed active exploitation is identified; with EPSS at 0.22% (12th percentile), this is a routine-priority patch item rather than an emergency.

RemediationAI

No vendor-released patch identified at time of analysis, so there is no confirmed fixed plugin version to cite. Until an update is available, remove or disable the PDF Annotator plugin (v1.5 release 9) on affected Moodle sites; if PDF annotation must remain available, disable the Public Comments feature. These controls remove or reduce exposure but sacrifice annotation and commenting functionality, and they do not remediate stored payloads already present, so review and clean existing annotated PDF comments. Also limit course enrollment to trusted users and monitor the referenced researcher advisories for a fixed release: https://github.com/onurcangnc/moodle-xss-pdfannotator, https://onurcangenc.com.tr/blog/moodle-xss-pdfannotator, and https://onurcangenc.com.tr/posts/cve-2025-60506-stored-cross-site-scripting-xss-in-moodle-pdf-annotator-plugin-v1-5-release-9/.

Affected ProductsAI

The affected product is the third-party Moodle PDF Annotator plugin, version 1.5 release 9. No CPE identifiers are supplied. Moodle installations are affected only where this plugin release is deployed and the Public Comments feature is available to users. Researcher references are available at https://github.com/onurcangnc/moodle-xss-pdfannotator, https://onurcangenc.com.tr/blog/moodle-xss-pdfannotator, and https://onurcangenc.com.tr/posts/cve-2025-60506-stored-cross-site-scripting-xss-in-moodle-pdf-annotator-plugin-v1-5-release-9/.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-79 stored cross-site scripting issue in the third-party Moodle PDF Annotator plugin, specifically v1.5 release 9. The Public Comments feature accepts user-supplied comment content and later renders it to other viewers of the annotated PDF; because that content is not safely encoded or neutralized before display, script supplied by a low-privileged authenticated user can execute in another user's browser context. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) shows network access, low privileges, required victim interaction and a scope change, with low confidentiality and integrity impact and no availability impact; the exact rendering path and sanitization failure are not further detailed in the supplied sources.

Know when Moodle gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Authenticated low-privileged attacker (PR:L) stores a payload executed only when a victim views it (UI:R); script runs in the victim's context (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Moodle PDF Annotator plugin v1.5 release 9 allows stored cross-site scripting (XSS) via the Public Comments feature. An attacker with a low-privileged account (e.g., Student) can inject arbitrary JavaScript payloads into a comment. When any other user (Student, Teacher, or Admin) views the annotated PDF, the payload is executed in their browser, leading to session hijacking, credential theft, or other attacker-controlled actions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche third-party Moodle plugin, limited footprint versus Moodle core
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Moodle

View all
CVE-2013-3630 MEDIUM POC
4.6 Nov 01

Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell

CVE-2021-21809 CRITICAL POC
9.1 Jun 23

A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. Rated critical severi

CVE-2024-43425 HIGH POC
8.1 Nov 07

A flaw was found in Moodle. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticatio

CVE-2017-2641 CRITICAL POC
9.8 Mar 26

In Moodle 2.x and 3.x, SQL injection can occur via user preferences. Rated critical severity (CVSS 9.8), this vulnerabil

CVE-2025-34031 HIGH POC
7.5 Jun 24

The Moodle LMS Jmol plugin version 6.1 and earlier contains a path traversal vulnerability in jsmol.php. The query param

CVE-2013-4341 MEDIUM POC
4.3 Sep 16

Multiple cross-site scripting (XSS) vulnerabilities in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, an

CVE-2016-9187 HIGH POC
8.8 Nov 04

Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remo

CVE-2016-9186 HIGH POC
8.8 Nov 04

Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows re

CVE-2018-14630 HIGH POC
8.8 Sep 17

moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional re

CVE-2018-1133 HIGH POC
8.8 May 25

An issue was discovered in Moodle 3.x. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low a

CVE-2026-123655 HIGH POC
7.5 Nov 06

Unauthenticated information disclosure in Moodle's H5P handling lets remote attackers read restricted content-bank mater

CVE-2016-7919 HIGH POC
7.5 Oct 28

Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified vectors, related to a "SQL Injectio

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy