WPGraphQL <= 2.24.1 - Authenticated (Author+) Server-Side Request Forgery via createMediaItem Remote URL
- ID
- WPSEC-2026-1156
- Plugin
- WPGraphQL (wp-graphql)
- Affected
- all versions before 2.24.2
- Remediation
- Update to 2.24.2 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 media item creation mutation's remote file URL in all versions up to, and including, 2.24.1 due to an incomplete safe-URL check. A failed AAAA (IPv6) DNS lookup was treated as a host with no IPv6 addresses, and the NAT64 local-use prefix (64:ff9b::/32 outside the well-known /96 prefix) was not blocked. This makes it possible for authenticated attackers with Author-level access and above, who can upload media, to make web requests to internal addresses and possibly query or modify internal services, under conditions such as a failing IPv6 resolver or a network using a local NAT64 translator.
References
- https://wpsec.com/vuln/WPSEC-2026-1156/
- https://plugins.svn.wordpress.org/wp-graphql/tags/2.24.2/
- https://wordpress.org/plugins/wp-graphql/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS