sadrobot

← Back to the monthly list

CVE-2026-103039 Gravity Forms · Gravity Forms

9.8 Critical

AI summary

Gravity Forms for WordPress up to and including 3.1.2 is vulnerable to PHP Object Injection via a List-type Post Custom Field, letting unauthenticated attackers inject PHP objects into post meta. With a gadget chain present (e.g. field mapped to _wp_page_template under certain host settings), remote code execution is possible; critical (9.8).

Official description

The Gravity Forms plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.1.2 via a Post Custom Field whose input type is List. This is due to GFFormsModel::create_post() passing the submitted value to WordPress' unrestricted global maybe_unserialize() rather than the plugin's own hardened GFCommon::maybe_unserialize(), which was added in 3.1.1 and passes allowed_classes => false precisely to prevent object instantiation. Where the field has a content template enabled, the submitted row reaches that call verbatim. This makes it possible for unauthenticated attackers to inject a PHP object into post meta. No PHP Object Injection gadget chain is present in the plugin itself; however, if a gadget chain is present via an additional plugin or theme, it could allow the attacker to perform actions such as remote code execution. Where the custom field is mapped to the protected _wp_page_template meta key, WordPress itself supplies the chain: validate_file() accepts non-scalars, WP_Theme::__toString() then resolves an attacker-controlled path, and on hosts with a readable PEAR install and register_argc_argv enabled this yields remote code execution.

Published
2026-10-30 07:16 UTC
Modified
2026-10-30 16:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.91% (percentile 58)
ENISA EUVD
EUVD-2026-113740
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-502
Category
Web CMS

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References