CVE-2025-9921 code-projects POS Pharmacy System products.php cross site scripting
Remote attackers can inject malicious scripts via product fields in the POS Pharmacy System, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-9921?
CVE-2025-9921 is a medium-severity cross-site scripting vulnerability in code-projects POS Pharmacy System, published on 3 Sep 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A weakness has been identified in code-projects POS Pharmacy System 1.0. Affected is an unknown function of the file /main/products.php. This manipulation of the argument product_code/gen_name/product_name/supplier causes cross site scripting. The attack can be initiated remotely. The exploit has been made available to the public and could be exploited.
Which versions are affected by CVE-2025-9921?
It affects 1 product.
Products include Code-Projects Pos Pharmacy System.
How do I fix CVE-2025-9921?
No fix has been published for CVE-2025-9921 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-9921 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9921 exists.
Sources
Also known as GHSA-6g5x-hx8m-w464.