Moodle Project moodle
Stored XSS risk in admin live log
Description information displayed in the site administration live log required additional sanitizing to prevent a stored XSS risk.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.5.0, < 4.5.2
- >= 4.4.0, < 4.4.6
- >= 4.3.0, < 4.3.10
- >= 4.1.0, < 4.1.16
Fixed in 4.5.2, 4.4.6, 4.3.10, 4.1.16
Mitigation
Upgrade moodle to 4.5.2 or 4.4.6 or 4.3.10 or 4.1.16 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 47 days after publication; not in CISA KEV. First PoC: Astroo18/PoC-CVE-2025-26529 (created 12 Apr 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Astroo18/PoC-CVE-2025-26529 | 12 Apr 2025 +47 d | 27 | PoC |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hxuu/moodle-cve | 20 Jun 2025 +116 d | 3 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /local/moodle_webshell/webshell.php
- Body markers
action=execcmd=action=downloadpath=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: Astroo18/PoC-CVE-2025-26529
- Evidence
- Astroo18/PoC-CVE-2025-26529/console.py:50 Astroo18/PoC-CVE-2025-26529/console.py:80
POST /steal.php
- Body markers
"html""url"inapplication/json- Seen in
- 1 repo: Astroo18/PoC-CVE-2025-26529
- Evidence
- Astroo18/PoC-CVE-2025-26529/cookie.js:2
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/local/moodle_webshell/webshell\.php(?:[?#].*)?$
(?i)^/steal\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-26529 Moodle Project moodle exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/local/moodle_webshell/webshell.php"; http.request_body; content:"action=exec"; http.request_body; content:"cmd="; http.request_body; content:"action=download"; http.request_body; content:"path="; reference:url,poc.griffinguard.io/cve/CVE-2025-26529; classtype:web-application-attack; sid:9277477; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-26529 Moodle Project moodle exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/steal.php"; http.request_body; content:"|22|html|22|"; http.request_body; content:"|22|url|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-26529; classtype:web-application-attack; sid:9889674; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Moodle Project moodle exploit attempt (CVE-2025-26529)
id: gg-pocmon-cve-2025-26529-9277477
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-26529. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-26529
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/local/moodle_webshell/webshell.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.26529
title: Moodle Project moodle exploit attempt (CVE-2025-26529)
id: gg-pocmon-cve-2025-26529-9889674
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-26529. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-26529
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/steal.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.26529