CVE-2025-51971 Cross-site scripting in n/a

Medium 5.4 Published Updated

Remote attackers can inject arbitrary JavaScript via the f_name parameter in register.php, potentially leading to session hijacking or malicious actions.

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-51971?

CVE-2025-51971 is a medium-severity cross-site scripting vulnerability in n/a, published on 28 Aug 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 reflected Cross-Site Scripting (XSS) vulnerability exists in register.php of PuneethReddyHC Online Shopping System Advanced 1.0. Unsanitized user input in the f_name parameter is reflected in the server response without proper HTML encoding or output escaping. This allows remote attackers to inject arbitrary JavaScript code.

Weakness: CWE-89

Which versions are affected by CVE-2025-51971?

It affects 1 product.

Products include Puneethreddyhc Online Shopping System Advanced.

How do I fix CVE-2025-51971?

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

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

Sources

Also known as GHSA-mh2g-mp9r-879h.

Is CVE-2025-51971 in your software?

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

Check your SBOMs for free