CVE-2025-8046 Injection Guard < 1.2.8 - Reflected XSS via $_SERVER['REQUEST_URI']

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the Injection Guard WordPress plugin.

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

CVE-2025-8046 is a medium-severity cross-site scripting vulnerability in Unknown Injection Guard, published on 14 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

The Injection Guard WordPress plugin before 1.2.8 does not escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an attribute, which could lead to Reflected Cross-Site Scripting in old web browsers

Weakness: CWE-79

Which versions are affected by CVE-2025-8046?

It affects 1 product.

Products include Fahadmahmood Injection Guard.

How do I fix CVE-2025-8046?

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

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

Sources

Also known as GHSA-mmhg-74m6-ppx2.

Is CVE-2025-8046 in your software?

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

Check your SBOMs for free