CVE-2018-25331 Zenar Content Management System Cross-Site Scripting via ajax.php
Unauthenticated attackers can inject malicious scripts via the current_page parameter in ajax.php, leading to arbitrary JavaScript execution in victim browsers.
- 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-2018-25331?
CVE-2018-25331 is a medium-severity cross-site scripting vulnerability in Zenar Content Management System, published on 17 May 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
Zenar Content Management System contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by manipulating form parameters in POST requests. Attackers can inject script tags through the current_page parameter sent to the ajax.php endpoint, which reflects unsanitized user input in the response HTML to execute arbitrary JavaScript in victim browsers.
Weakness: CWE-79
Which versions are affected by CVE-2018-25331?
How do I fix CVE-2018-25331?
No fix has been published for CVE-2018-25331 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-2018-25331 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25331 exists.
Sources
Also known as GHSA-q3m7-9pg6-jjh6.