CVE-2026-113774 in Schema and Structured Data for AMP Plugininfo

Summary

by MITRE • 11/27/2026

The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 1.68. This is due to deserialization of untrusted input via the admin export (saswp_export_all_settings_and_schema) which calls unrestricted unserialize() on every raw post meta value, combined with saswp_review_form_process_data() which stores unauthenticated-visitor-supplied reviewer-name data through update_post_meta — the plugin sanitizes with sanitize_text_field(), which does not recognise PHP serialization syntax or the NUL property-name delimiters, and WordPress's maybe_serialize/is_serialized has no case for the legacy PHP 'C' custom-serialization token (ArrayObject), so the payload is persisted byte-for-byte and never wrapped in a protective extra serialize layer. This makes it possible for unauthenticated attackers to inject a PHP Object into the processing of the plugin. No known POP chain is present in the vulnerable plugin itself, but if a suitable chain exists via an additional plugin or theme installed on the blog, it could be used to delete arbitrary files, or achieve other impacts. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/27/2026

The Schema & Structured Data for WP and AMP plugin for WordPress versions up to 1.68 contains a critical PHP Object Injection vulnerability that stems from improper handling of serialized data during administrative export operations. The core technical flaw lies in the interaction between two specific functions within the plugin's codebase: saswp_export_all_settings_and_schema and saswp_review_form_process_data. During normal operation, unauthenticated visitors can submit reviewer name data through a review form interface. This input is stored via WordPress’s update_post_meta function after being passed through sanitize_text_field. While this sanitization step removes certain dangerous characters like HTML tags and script blocks, it fails to recognize or neutralize PHP serialization syntax, including the legacy custom-serialization token C used for ArrayObject instances. Consequently, maliciously crafted payloads containing serialized object references are persisted in the database byte-for-byte without any protective wrapping by WordPress’s maybe_serialize function, which lacks awareness of this specific serialization format.

The vulnerability is triggered when an administrator performs a plugin export action using saswp_export_all_settings_and_schema. This function iterates through all raw post meta values and passes them directly to PHP's unserialize() function without validating the integrity or origin of the data. Because the previously stored malicious payload remains in its serialized form, it is deserialized immediately upon export initiation. Although no direct Proof-of-Concept POP chain exists within the vulnerable plugin itself, the presence of this injection point allows an attacker to introduce arbitrary PHP objects into the application's execution context. If a suitable gadget chain is present via another installed plugin or theme on the WordPress site, these injected objects can be exploited to achieve remote code execution, delete arbitrary files, or perform other unauthorized actions that compromise the integrity and confidentiality of the system.

From an operational impact perspective, this vulnerability requires a specific sequence of events involving both unauthenticated users and privileged administrators. An attacker must first inject the serialized payload through the public-facing review form without authentication. Subsequently, an administrator with export privileges must trigger the deserialization process by exporting settings. This dependency on administrative action limits the immediacy of exploitation but does not eliminate the risk, as social engineering or automated scripts targeting admin accounts can facilitate this step. The impact is severe because it bypasses standard WordPress security boundaries that rely on input sanitization and output escaping, allowing attackers to leverage existing PHP object chains within the broader ecosystem of installed extensions.

This vulnerability aligns with CWE-502, which describes Deserialization of Untrusted Data, a common source of remote code execution in web applications. It also relates to CWE-94, Improper Control of Generation of Code (Code Injection), as the deserialized objects can execute arbitrary logic defined within their methods. In terms of MITRE ATT&CK mapping, this technique falls under T1059 Command and Scripting Interpreter with a focus on PHP execution vectors, specifically leveraging stored payloads for later exploitation during administrative tasks. The lack of validation against legacy serialization formats highlights the importance of using strict type checking or whitelisting allowed classes during deserialization processes to prevent such injection attacks.

Mitigation strategies should prioritize immediate updates to version 1.69 or higher where this issue has been addressed by implementing stricter input validation and preventing the direct use of unserialize on untrusted data sources. Administrators running vulnerable versions must manually remove any suspicious post meta entries that may contain serialized payloads before updating, as simply patching the code will not clear existing malicious data from the database. Additionally, site administrators should audit installed plugins for known POP chains and consider implementing a PHP deserialization whitelist to restrict which classes can be instantiated during unserialization operations. Regular security audits focusing on how third-party plugins handle user-supplied serialized data are essential to maintaining robust defense-in-depth against object injection attacks in WordPress environments.

Responsible

Wordfence

Reservation

10/20/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00524

KEV

no

Activities

low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!