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
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38687
GHSA-crf7-vj54-j76v