CVE-2022-50958 WordPress Plugin Jetpack 9.1 Cross Site Scripting via grunion-form-view.php
Unauthenticated attackers can inject malicious scripts via the post_id parameter in Jetpack's grunion-form-view.php, executing arbitrary JavaScript in victim browsers.
- 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-2022-50958?
CVE-2022-50958 is a medium-severity cross-site scripting vulnerability in Jetpack, published on 10 May 2026. 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
WordPress Plugin Jetpack 9.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by manipulating the post_id parameter. Attackers can craft URLs to the grunion-form-view.php endpoint with script payloads in the post_id parameter to execute arbitrary JavaScript in victim browsers.
Weakness: CWE-79
Which versions are affected by CVE-2022-50958?
How do I fix CVE-2022-50958?
No fix has been published for CVE-2022-50958 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-50958 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50958 exists.
Sources
Also known as GHSA-9j3h-j388-8ghx.