CVE-2025-0301 code-projects Online Book Shop subcat.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the catnm parameter in subcat.php, potentially compromising user sessions or data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-0301?

CVE-2025-0301 is a medium-severity cross-site scripting vulnerability in code-projects Online Book Shop, published on 7 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, has been found in code-projects Online Book Shop 1.0. Affected by this issue is some unknown functionality of the file /subcat.php. The manipulation of the argument catnm leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-0301?

It affects 1 product.

Products include Fabian Online Book Shop.

How do I fix CVE-2025-0301?

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

There is no known exploitation of CVE-2025-0301 in the wild and no public exploit code.

Sources

Also known as GHSA-2g9m-9qhc-m426.

Is CVE-2025-0301 in your software?

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

Check your SBOMs for free