Moodle PDF Annotator
CVE-2025-60506
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Student
-
DeliveryInject JavaScript into Public Comment
-
ExploitStore payload on annotated PDF
-
ExecutionTeacher or Admin views PDF
-
PersistScript executes in victim session
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell
A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. Rated critical severi
A flaw was found in Moodle. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticatio
In Moodle 2.x and 3.x, SQL injection can occur via user preferences. Rated critical severity (CVSS 9.8), this vulnerabil
The Moodle LMS Jmol plugin version 6.1 and earlier contains a path traversal vulnerability in jsmol.php. The query param
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
Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remo
Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows re
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
An issue was discovered in Moodle 3.x. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low a
Unauthenticated information disclosure in Moodle's H5P handling lets remote attackers read restricted content-bank mater
Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified vectors, related to a "SQL Injectio
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB