Vulnerabilities / WPGraphQL / WPSEC-2026-1078

WPGraphQL <= 2.24.0 - Authenticated (Author+) Server-Side Request Forgery via 'filePath' Parameter

Medium 4.9 CWE-918Fixed in 2.24.1
ID
WPSEC-2026-1078
Plugin
WPGraphQL (wp-graphql)
Affected
all versions before 2.24.1
Remediation
Update to 2.24.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-918
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-16
Attack surface
WPGraphQL on WPSec AttackSurface
Fix released
Published

Description

The WPGraphQL plugin for WordPress is vulnerable to Server-Side Request Forgery via the 'filePath' parameter of the createMediaItem mutation in all versions up to, and including, 2.24.0. This is due to an incomplete internal-address check that only unwrapped the dotted IPv4-mapped IPv6 form. Addresses in the IPv4-compatible, NAT64 or 6to4 forms, and internal IPv6 ranges written with a dotted-quad tail, were treated as public, both for the initial URL and for redirect targets. This makes it possible for authenticated attackers, with Author-level access and above, to make web requests to internal locations from the web application, which can be used to query and modify information from internal services, on servers whose network routes such addresses.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0