CVE-2022-50946 WordPress Plugin Netroics Blog Posts Grid 1.0 Stored XSS

Medium 5.1 Published Updated

Authenticated editors can inject malicious scripts via the testimonial title field, leading to session hijacking and cookie theft for other users.

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

CVE-2022-50946 is a medium-severity cross-site scripting vulnerability in Netroics Blog Posts Grid, 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 Plugin Netroics Blog Posts Grid 1.0 contains a stored cross-site scripting vulnerability that allows authenticated editors to inject malicious scripts by failing to sanitize the post_title parameter. Attackers with editor privileges can inject script payloads through the testimonial title field that execute in the browsers of other users viewing the draft post, enabling cookie theft and session hijacking.

Weakness: CWE-79

Which versions are affected by CVE-2022-50946?

How do I fix CVE-2022-50946?

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

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

Sources

Also known as GHSA-gc2x-q5v7-pcr9.

Is CVE-2022-50946 in your software?

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

Check your SBOMs for free