# CVE-2022-50958: Automattic Jetpack reflected XSS in grunion-form-view.php

Source: https://junglewise.ai/threats/cve-2022-50958-automattic-jetpack-reflected-xss-in-grunion-form-view-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-10. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2022-50958 · Severity: medium · CVSS 6.1 · Published 2026-05-10

Jetpack is a widely used WordPress plugin that provides security, performance, and marketing tools for websites. A security flaw in version 9.1 allows attackers to trick users into clicking a malicious link that executes unauthorized code in their web browser. This could lead to unauthorized actions being performed on the website or the theft of sensitive session information.

Technologies: [Automattic Jetpack](https://junglewise.ai/threats/technologies/jetpack). Vendors: [Automattic](https://junglewise.ai/threats/vendors/automattic).

## Quick answers

**Is CVE-2022-50958 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-50958 being exploited in the wild.

**How severe is CVE-2022-50958?** Medium severity, with a CVSS score of 6.1, published 10 May 2026.

**Which products and versions are affected?** Automattic Jetpack 9.1 and possibly earlier.

**Is there a fix for CVE-2022-50958?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-50958 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2022-50958?** Check whether you run Automattic Jetpack at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in the WordPress Jetpack plugin version 9.1. The flaw is located within the grunion-form-view.php endpoint, which fails to properly sanitize the 'post_id' parameter before rendering it in the browser. An unauthenticated remote attacker can exploit this by crafting a malicious URL containing a JavaScript payload. When a victim visits the link, the script executes within the context of their browser session, potentially allowing for session hijacking or unauthorized administrative actions if the victim is an authenticated site owner. A public proof-of-concept exploit has been disclosed.

## Affected products

- Automattic Jetpack 9.1 and possibly earlier

## Timeline

- 2022-02-07: other: Vulnerability discovered and exploit title created
- 2022-02-10: other: Exploit published on Exploit-DB
- 2026-05-10: advisory: NVD/VulnCheck advisory published

## References

- [https://wordpress.org/plugins/jetpack](https://wordpress.org/plugins/jetpack)
- [https://www.exploit-db.com/exploits/50735](https://www.exploit-db.com/exploits/50735)
- [https://www.vulncheck.com/advisories/wordpress-plugin-jetpack-cross-site-scripting-via-grunion-form-view-php](https://www.vulncheck.com/advisories/wordpress-plugin-jetpack-cross-site-scripting-via-grunion-form-view-php)

## Related threats

- [Automattic Jetpack authentication bypass via alternate path](https://junglewise.ai/threats/cve-2026-106602-authentication-bypass-using-an-alternate-path-or-channel)
- [Automattic Jetpack authentication bypass in password recovery](https://junglewise.ai/threats/cve-2026-106601-authentication-bypass-using-an-alternate-path-or-channel)
