Skip to main content
EPSS 0.2%top 94%

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)

0
Medium
Published: 09/30/2026 (09/30/2026, 09:31:12 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/30/2026, 16:09:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses