Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-67849: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

0
High
VulnerabilityCVE-2025-67849cvecve-2025-67849
Published: Tue Feb 03 2026 (02/03/2026, 10:52:01 UTC)
Source: CVE Database V5

Description

A flaw was found in Moodle. This cross-site scripting (XSS) vulnerability, caused by improper sanitization of AI prompt responses, allows attackers to inject malicious HTML or script into web pages. When other users view these compromised pages, their sessions could be stolen, or the user interface could be manipulated.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 07:37:19 UTC

Technical Analysis

CVE-2025-67849 is a cross-site scripting (XSS) vulnerability identified in Moodle versions 4.5.0, 5.0.0, and 5.1.0. The root cause is improper neutralization of input during web page generation, specifically related to AI prompt responses that are not adequately sanitized before being rendered. This allows an attacker with limited privileges to inject malicious HTML or JavaScript code into Moodle web pages. When other users access these pages, the malicious scripts execute in their browsers within the context of the Moodle domain. This can lead to session cookie theft, enabling attackers to hijack user sessions, or manipulation of the user interface to deceive users or perform unauthorized actions. The vulnerability requires user interaction to trigger the malicious payload and some level of privileges to submit the crafted input, but no authentication bypass is indicated. The CVSS v3.1 base score is 7.3, reflecting high severity due to the ease of network exploitation, low attack complexity, and high impact on confidentiality and integrity. Although no public exploits are known yet, the presence of AI-generated content in Moodle increases the attack surface and risk of exploitation. The vulnerability underscores the importance of rigorous input validation and output encoding, especially when integrating AI-generated content into web applications.

Potential Impact

The primary impact of CVE-2025-67849 is on the confidentiality and integrity of Moodle users' data. Successful exploitation can lead to session hijacking, allowing attackers to impersonate legitimate users and access sensitive educational content, personal information, or administrative functions. Manipulation of the user interface can facilitate phishing attacks or unauthorized actions within the platform. For educational institutions and organizations relying on Moodle for e-learning, this can result in data breaches, loss of trust, and disruption of learning activities. While availability is not directly affected, the indirect consequences of compromised accounts and manipulated interfaces can degrade service quality and user confidence. The vulnerability's exploitation could also serve as a foothold for further attacks within the affected networks. Given Moodle's widespread use globally, the impact can be significant if not addressed promptly.

Mitigation Recommendations

To mitigate CVE-2025-67849, organizations should immediately upgrade Moodle to patched versions once available. In the absence of patches, administrators should implement strict input validation and output encoding on all AI prompt responses before rendering them in web pages. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of XSS attacks. Limit user privileges to the minimum necessary to reduce the risk of malicious input submission. Monitor logs for unusual activities related to AI prompt inputs and user session anomalies. Educate users about the risks of interacting with suspicious content and encourage the use of multi-factor authentication to protect accounts from hijacking. Additionally, consider disabling or restricting AI prompt features temporarily if they cannot be secured promptly. Regular security assessments and penetration testing focused on AI integration points can help identify and remediate similar vulnerabilities proactively.

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

Technical Details

Data Version
5.2
Assigner Short Name
fedora
Date Reserved
2025-12-12T13:00:24.330Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6982d5def9fa50a62f6a7ecb

Added to database: 2/4/2026, 5:15:10 AM

Last enriched: 2/27/2026, 7:37:19 AM

Last updated: 3/24/2026, 12:29:35 AM

Views: 118

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