Skip to main content

Mahara CVE-2025-61872

| EUVDEUVD-2025-209573 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-24 mitre GHSA-f5fr-j7r9-mmgp
6.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

5
Analysis Generated
Apr 24, 2026 - 17:31 vuln.today
CVSS changed
Apr 24, 2026 - 16:22 NVD
6.1 (None) 6.1 (MEDIUM)
EUVD ID Assigned
Apr 24, 2026 - 15:00 euvd
EUVD-2025-209573
Analysis Generated
Apr 24, 2026 - 15:00 vuln.today
CVE Published
Apr 24, 2026 - 00:00 nvd
MEDIUM 6.1

DescriptionCVE.org

Mahara before 25.04.2 and 24.04.11 are vulnerable to displaying results that can trigger XSS via a malicious search query string. This occurs in the 'search site' feature when using the Elasticsearch7 search plugin. The Elasticsearch function does not properly sanitize input in the query parameter.

AnalysisAI

Stored cross-site scripting (XSS) in Mahara before 25.04.2 and 24.04.11 allows unauthenticated remote attackers to inject malicious JavaScript via unsanitized search query parameters in the 'search site' feature when the Elasticsearch7 search plugin is enabled. The vulnerability has a CVSS score of 6.1 (moderate) with network attack vector and user interaction required (clicking a crafted search link), resulting in partial confidentiality and integrity impact. No active exploitation has been confirmed by CISA KEV, and no public exploit code is documented at the time of analysis.

Technical ContextAI

Mahara's search functionality integrates with the Elasticsearch7 search plugin to process user-supplied search queries. The vulnerability exists in the query parameter handling within the Elasticsearch search backend, which fails to properly encode or sanitize user input before rendering search results in the HTML response. This is a classic reflected or stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) where attacker-controlled search strings are echoed back to the user's browser without HTML entity encoding or Content Security Policy enforcement. The Elasticsearch7 plugin's query processing layer does not validate or escape special characters that have meaning in HTML context, allowing attackers to break out of the intended data context and inject arbitrary script tags or event handlers.

RemediationAI

Upgrade Mahara to version 25.04.2 or later for the current 25.x branch, or to version 24.04.11 or later for the 24.04.x branch. Both patches remediate the input sanitization flaw in the Elasticsearch7 search plugin. If immediate patching is not feasible, disable the Elasticsearch7 search plugin and revert to Mahara's default search backend (typically database-driven search) to eliminate the attack surface; note that this may impact search performance on large instances. Additionally, implement a Content Security Policy (CSP) header with script-src restrictions to mitigate the impact of any unpatched XSS, though CSP alone does not prevent the vulnerability. Apply vendor patches as soon as available via https://mahara.org and verify the patched version is deployed across all instances. For users on unsupported versions, upgrading to a maintained release branch is mandatory.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Share

CVE-2025-61872 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy