CVE-2026-102581: Moodle: xss in forum post templates due to insufficient escaping
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.19% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: git.moodle.org moodle 4.5.13, 5.0.9, 5.1.6.
Low priority for now. Upgrade to git.moodle.org moodle 4.5.13, 5.0.9, 5.1.6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 30, 2026
- Updated
- Oct 1, 2026
- EPSS
- 0.1% · 9th percentile
- CWE
- CWE-79
Report tools
Action score
21
Low priority for now.
- CVSS
- 21 / 40 · 5.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.4
- CNA · fedora
- 4.6
- 0.8 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Limit the impact of XSSCheck security headers
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| moodle | moodle | cpe:2.3:a:moodle:moodle |
Limit the impact of XSS
This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.
Check security headersVersions reported by the vendor
Affected version ranges reported by the assigning authority (fedora). Independent of NVD's CPE analysis and usually ahead of it.
git.moodle.org moodle
- 5.2.0 and later · before 5.2.2affected · semver
- 5.1.0 and later · before 5.1.6affected · semver
- 5.0.0 and later · before 5.0.9affected · semver
- before 4.5.13affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- moodle moodlebefore 4.5.13
- moodle moodle5.0.0 and later · before 5.0.9
- moodle moodle5.1.0 and later · before 5.1.6
- moodle moodle5.2.0 and later · before 5.2.2
Same product
moodle: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-43425Moodle: remote code execution via calculated question types60This week
- CVE-2021-36393In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.55Plan
- CVE-2022-0332A flaw was found in Moodle in versions 3.11 to 3.11.4.49Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-102579Sep 30, 2026 · Moodle: user profile information disclosure via grade web service17Monitor
- ← EarlierCVE-2026-102580Sep 30, 2026 · Moodle: arbitrary class instantiation via report builder audience classname17Monitor
- Later →CVE-2026-102582Sep 30, 2026 · Moodle: manual enrolment page accessible when plugin disabled17Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| git.moodle.org moodle | 4.5.13 | Vendor (CNA) |
| git.moodle.org moodle | 5.0.9 | Vendor (CNA) |
| git.moodle.org moodle | 5.1.6 | Vendor (CNA) |
| git.moodle.org moodle | 5.2.2 | Vendor (CNA) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- Fix recordedsame day
- TodayNov 14, 2026+45 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-1025860 days apartMoodle: xss via password reset link due to insufficient username escaping24Monitor
- CVE-2025-67849239 days apartMoodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses24Monitor
- CVE-2025-67850239 days apartMoodle: moodle: cross-site scripting vulnerability via inadequate input filtering in formula editor24Monitor
- CVE-2025-67855239 days apartMooodle: mooodle: information disclosure and script execution via reflected cross-site scripting24Monitor
- CVE-2025-3643523 days apartMoodle: reflected xss risk in policy tool21Monitor
- CVE-2022-50943143 days apartMoodle LMS 4.0 Cross-Site Scripting via course search.php20Monitor
Not on record for this CVE: patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- CVSS4.6 → 5.4
- SSVC exploitation— → none
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.