---
id: CVE-2022-50958
title: >-
  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
summary: >-
  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-vi…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-05-10'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T22:10:00.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50958'
references:
  - url: 'https://wordpress.org/plugins/jetpack'
    label: disclosure@vulncheck.com
  - url: 'https://www.exploit-db.com/exploits/50735'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/wordpress-plugin-jetpack-cross-site-scripting-via-grunion-form-view-php
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00204
epssPercentile: 0.09456
ingestedAt: '2026-10-06T22:23:15.923Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
