CVE-2022-50945 WordPress 3dady Real-Time Web Stats 1.0 Stored XSS

Medium 5.1 Published Updated

Authenticated attackers can inject malicious JavaScript via unsanitized input fields in the 3dady Real-Time Web Stats plugin, leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-50945?

CVE-2022-50945 is a medium-severity cross-site scripting vulnerability in 3dady real-time web stats, published on 10 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

WordPress 3dady Real-Time Web Stats plugin 1.0 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious JavaScript by exploiting unsanitized input fields. Attackers can insert JavaScript payloads in the dady_input_text or dady2_input_text fields via the plugin options panel to execute arbitrary code when the page is viewed.

Weakness: CWE-79

Which versions are affected by CVE-2022-50945?

How do I fix CVE-2022-50945?

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

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

Sources

Also known as GHSA-pcph-8p5m-wmw7.

Is CVE-2022-50945 in your software?

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

Check your SBOMs for free