Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site with plugin ≤ 1.3
-
DeliveryCraft URL with XSS payload in PHP_SELF path
-
ExploitDeliver link to site administrator via phishing
-
InstallAdministrator clicks link while authenticated
-
C2settings.php reflects unsanitized PHP_SELF into page
-
ExecuteInjected script executes in admin browser session
-
ImpactAttacker hijacks session or performs unauthorized admin action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Image Sizes on Demand plugin (version ≤ 1.3) must be installed and active on the target WordPress site. The vulnerable settings.php page only renders for users holding the manage_options WordPress capability, which is granted exclusively to administrators - meaning the injected payload executes only when an authenticated site administrator visits the crafted URL. The attacker requires no credentials (PR:N per CVSS), but must successfully social-engineer an administrator into clicking the malicious link while their WordPress session is active (UI:R). Exploitation is structurally limited to administrator-level targets; non-admin users who follow the same link will not trigger the vulnerable code path because the settings page will not render for them. |
| Impact | The CVSS 6.1 score (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) reflects a network-reachable, low-complexity, unauthenticated attack - but the mandatory user interaction (UI:R) and the constraint that the payload only executes for users with the manage_options WordPress capability (i.e., site administrators) meaningfully limit mass-exploitation potential. No EPSS score is provided in the available data, preventing probability-based triage. No KEV listing indicates active exploitation has not been confirmed by CISA. The absence of a known POC further reduces near-term risk. The primary real-world concern is targeted attacks against specific WordPress site owners, where an attacker with knowledge of the installed plugin could phish the administrator. This is a medium-priority issue: meaningful against high-value WordPress targets but not a candidate for broad automated exploitation given the UI:R constraint. |
| Exploit ScenarioDerived | An attacker identifies a WordPress site running the Image Sizes on Demand plugin (≤ 1.3), crafts a URL to the plugin's settings page with a JavaScript payload embedded in the URL path to exploit the PHP_SELF reflection, and delivers it to the site administrator via a phishing email or compromised forum post. When the administrator clicks the link while logged into their WordPress dashboard, the malicious script executes in their browser session, allowing the attacker to exfiltrate the session cookie or silently create a rogue administrator account. No public proof-of-concept code has been identified, but this PHP_SELF XSS class is trivial to exploit manually given its well-documented nature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Reflected Cross-Site Scripting in the Image Sizes on Demand WordPress plugin (versions ≤ 1.3) allows unauthenticated remote attackers to inject arbitrary JavaScript via the unsanitized PHP_SELF server variable in settings.php. Successful exploitation requires social engineering an administrator into clicking a crafted link, after which the injected script executes within the admin's authenticated browser session - enabling session hijacking or unauthorized administrative actions. No public exploit code and no CISA KEV listing have been identified at time of analysis.
RemediationAI
No fixed version number has been confirmed in the available reference data - patch availability should be verified directly via the plugin's WordPress.org repository page before assuming a fix exists. If an updated release beyond version 1.3 is available, administrators should upgrade immediately. If no patch is confirmed, the recommended compensating control is to deactivate and uninstall the Image Sizes on Demand plugin until a patched release is published, as PHP_SELF-based XSS cannot be mitigated at the server or WAF layer without code changes to the plugin itself (the reflection occurs within application logic). As an additional defense-in-depth measure, restricting access to the WordPress admin dashboard (/wp-admin/) to trusted IP ranges via server configuration or a WAF rule reduces the pool of administrators who can be targeted, though it does not eliminate the underlying vulnerability. See the Wordfence advisory for the latest patch status: https://www.wordfence.com/threat-intel/vulnerabilities/id/ebcbb7bf-99fd-4a74-a4d3-eabf9edcadc4?source=cve.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in settings.php (line 8) of the Image Sizes on Demand plugin by pixelwelt (CPE: cpe:2.3:a:pixelwelt:image_sizes_on_demand:*:*:*:*:*:*:*:*) for WordPress. CWE-79 (Reflected XSS) arises because the PHP_SELF superglobal - which reflects the current script's URL path back into the page - is echoed into the HTML output without sanitization or output encoding. Attackers can append XSS payloads directly to the URL path (e.g., /wp-admin/options-general.php/<script>alert(1)</script>), which the server mirrors verbatim into the rendered page. This is a well-understood and historically common misuse of PHP_SELF, particularly in form action attributes. The CVSS Scope:Changed (S:C) metric correctly captures that the injected script executes in the victim's browser security context rather than the server's.
Know when Image Sizes On Demand gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Unauthenticated network delivery (AV:N, PR:N) with mandatory admin click (UI:R); S:C because injected script executes in victim browser context; no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Image Sizes on Demand plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF Server Variable in all versions up to, and including, 1.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. The injected payload only executes in the context of an administrator, as the settings page requires the manage_options capability to render.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-38687
GHSA-crf7-vj54-j76v
NVD
CVE.org
EPSS
Exploit-DB