CVE-2025-5013 HkCms Search index.html cross site scripting
Remote attackers can inject malicious scripts via the search keyword parameter in HkCms, potentially leading to session hijacking or code execution.
- 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-5013?
CVE-2025-5013 is a medium-severity cross-site scripting vulnerability in HkCms, published on 21 May 2025. 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
A vulnerability, which was classified as problematic, was found in HkCms up to 2.3.2.240702. This affects an unknown part of the file /index.php/search/index.html of the component Search. The manipulation of the argument keyword leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-5013?
It affects 1 product.
Products include Hkcms Hkcms.
How do I fix CVE-2025-5013?
No fix has been published for CVE-2025-5013 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-5013 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5013 exists.
Other vulnerabilities in HkCms
Sources
Also known as GHSA-vrgv-fv58-v6jg.