CVE-2025-61872 Cross-site scripting in n/a
Attackers can execute arbitrary scripts via malicious search queries in Mahara when using the Elasticsearch7 plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-61872?
CVE-2025-61872 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-61872?
How do I fix CVE-2025-61872?
No fix has been published for CVE-2025-61872 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-61872 being exploited?
There is no known exploitation of CVE-2025-61872 in the wild and no public exploit code.
Sources
Also known as GHSA-f5fr-j7r9-mmgp.