CVE-2026-7129 SourceCodester Pharmacy Sales and Inventory System index.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can execute arbitrary scripts via the ID parameter in the categories page of the Pharmacy Sales and Inventory System.

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-2026-7129?

CVE-2026-7129 is a medium-severity cross-site scripting vulnerability in SourceCodester Pharmacy Sales and Inventory System, published on 27 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

A vulnerability was detected in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /index.php?page=categories. Performing a manipulation of the argument ID results in cross site scripting. The attack is possible to be carried out remotely. The exploit is now public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-7129?

How do I fix CVE-2026-7129?

No fix has been published for CVE-2026-7129 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-2026-7129 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7129 exists.

Sources

Also known as GHSA-xrmg-9fq7-8w6h.

Is CVE-2026-7129 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free