A flaw was found in Moodle. Insufficient output escaping in templates used to display forum posts enables a stored cross-site scripting (XSS)… (CVE-2026-102581)
A stored cross-site scripting (XSS) vulnerability exists in Moodle due to insufficient output escaping in templates used to display forum posts. This flaw allows an attacker to inject malicious script code into forum posts, which executes in the browsers of users viewing those posts. The vulnerability has a medium severity rating with a CVSS score of 4.6.
AI Analysis
Technical Summary
Moodle contains a stored XSS vulnerability (CVE-2026-102581) caused by inadequate output escaping in the templates rendering forum posts. This enables attackers with limited privileges to inject malicious scripts that execute in other users' browsers when they view the affected forum posts. The CVSS 3.1 vector indicates network attack vector, low attack complexity, low privileges required, user interaction required, and impacts on confidentiality and integrity but not availability.
Potential Impact
An attacker can inject malicious content into Moodle forum posts that executes arbitrary script code in the browsers of other users who view those posts. This can lead to information disclosure and integrity issues within the affected users' sessions. There is no indication of impact on availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider restricting forum posting privileges and educating users about the risks of clicking untrusted links in forum posts.
A flaw was found in Moodle. Insufficient output escaping in templates used to display forum posts enables a stored cross-site scripting (XSS)… (CVE-2026-102581)
Description
A stored cross-site scripting (XSS) vulnerability exists in Moodle due to insufficient output escaping in templates used to display forum posts. This flaw allows an attacker to inject malicious script code into forum posts, which executes in the browsers of users viewing those posts. The vulnerability has a medium severity rating with a CVSS score of 4.6.
CVSS v3.1
Score 4.6medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Moodle contains a stored XSS vulnerability (CVE-2026-102581) caused by inadequate output escaping in the templates rendering forum posts. This enables attackers with limited privileges to inject malicious scripts that execute in other users' browsers when they view the affected forum posts. The CVSS 3.1 vector indicates network attack vector, low attack complexity, low privileges required, user interaction required, and impacts on confidentiality and integrity but not availability.
Potential Impact
An attacker can inject malicious content into Moodle forum posts that executes arbitrary script code in the browsers of other users who view those posts. This can lead to information disclosure and integrity issues within the affected users' sessions. There is no indication of impact on availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider restricting forum posting privileges and educating users about the risks of clicking untrusted links in forum posts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g6pg-29qv-3h3r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-102581"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abd30862a4e24523d340213
Added to database: 09/30/2026, 15:53:42 UTC
Last enriched: 09/30/2026, 16:09:29 UTC
Last updated: 10/01/2026, 05:08:50 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.