Random Image Selector CVE-2025-26548
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft XSS payload in URL parameter
-
DeliveryDeliver malicious link via phishing/social media
-
ExploitVictim clicks link
-
ExecutionPlugin reflects unsanitized input
-
PersistJavaScript executes in victim browser
-
ImpactSteal cookies or perform unauthorized actions
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 | Exploitation requires victim user interaction - specifically clicking a malicious link crafted by the attacker and visiting the vulnerable WordPress site with the payload in the URL parameters. The vulnerability is exploitable against default Random Image Selector configurations with no authentication required (PR:N), meaning both anonymous visitors and logged-in users can be targeted. Attack complexity is low (AC:L) as no special timing or environmental conditions are needed beyond convincing the victim to click the link. The plugin must be active on the WordPress installation for the vulnerable code path to be accessible. Exploitation is limited by the need for social engineering or distribution channels to deliver malicious URLs - this is not an automatically exploitable vulnerability but requires attacker interaction with victims. Browser-based XSS filters (deprecated in modern browsers) and site-level Content Security Policy headers, if present, may block certain payloads but should not be relied upon as primary defense. |
| Impact | Real-world risk is moderate-low despite the 7.1 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L) indicates network-accessible exploitation with low complexity and changed scope, but critically requires user interaction. This substantially reduces exploitation likelihood compared to fully automated attacks. The EPSS score of 0.09% (26th percentile) confirms low probability of mass exploitation, aligning with the UI:R constraint - attackers must convince victims to click malicious links. The changed scope (S:C) means successful exploitation could impact resources beyond the vulnerable plugin, potentially compromising WordPress session cookies or performing actions as the victim user. However, the low CIA impacts (L/L/L) limit damage to information disclosure, minor integrity violations, and minimal availability impact. No KEV listing and no public exploit code further reduce urgency. This is a real vulnerability requiring remediation but not a critical emergency - priority should be determined by WordPress site exposure, user base size, and existing WAF/CSP protections. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript payload in a parameter that the Random Image Selector plugin reflects without sanitization, such as a gallery selection or image path parameter. The attacker distributes this link via phishing email, social media post, or compromised website claiming to link to legitimate content on the target WordPress site. When a logged-in WordPress user or site visitor clicks the link, the malicious JavaScript executes in their browser with the site's origin, potentially stealing session cookies, performing administrative actions if the victim has elevated privileges, or redirecting to credential harvesting pages. The changed scope (S:C) in the CVSS vector indicates the attack could impact WordPress core resources beyond the vulnerable plugin itself. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 25, 2026
Reflected cross-site scripting (XSS) in Random Image Selector WordPress plugin versions through 2.4 allows remote attackers to execute arbitrary JavaScript in victim browsers when users click malicious links. The vulnerability requires user interaction (UI:R) but no authentication (PR:N), enabling attacks via phishing or social engineering. EPSS score of 0.09% (26th percentile) indicates low exploitation probability. No public exploit identified at time of analysis, and vulnerability is not present in CISA KEV, suggesting limited real-world targeting despite medium-high CVSS 7.1.
Earlier versions of this analysis (1)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NotFound Random Image Selector allows Reflected XSS.4. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Upgrade Random Image Selector plugin to a patched version greater than 2.4 if available via the WordPress plugin repository or vendor site. Check the official WordPress plugin directory and Patchstack advisory at https://patchstack.com/database/wordpress/plugin/random-image-selector/vulnerability for confirmed fix version and update instructions. If no patched version exists, immediately disable and remove the Random Image Selector plugin from WordPress installations until a security update is released. As compensating controls, implement Content Security Policy (CSP) headers restricting script-src to 'self' to limit XSS impact, though this may break inline JavaScript used by other plugins. Deploy a Web Application Firewall (WAF) with XSS pattern detection to filter malicious parameters, accepting that sophisticated payloads may bypass signature-based detection. Educate WordPress administrators and content editors about phishing risks and avoiding suspicious links targeting the site's domain. Note that CSP and WAF are defense-in-depth measures that reduce but do not eliminate risk - plugin upgrade or removal is the definitive fix.
Affected ProductsAI
Random Image Selector WordPress plugin versions from initial release (n/a) through version 2.4 are vulnerable. The Patchstack advisory references version 1.5.6 specifically, but NVD data confirms all versions up to and including 2.4 are affected. This is a third-party WordPress plugin developed by NotFound (developer name per vulnerability report). Sites running Random Image Selector should verify their installed version via WordPress admin dashboard under Plugins. Patchstack database entries available at https://patchstack.com/database/wordpress/plugin/random-image-selector/vulnerability/wordpress-random-image-selector-plugin-1-5-6-reflected-cross-site-scripting-vulnerability provide additional technical details.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a reflected XSS vulnerability (CWE-79) in the Random Image Selector WordPress plugin, which typically displays random images from a specified directory or media library. The flaw stems from improper neutralization of user-supplied input before rendering it in HTML responses. The plugin fails to sanitize or escape parameters reflected in web pages, allowing attackers to inject malicious JavaScript that executes in the security context of the vulnerable WordPress site. Reflected XSS differs from stored XSS in that the malicious payload is not persisted server-side but instead delivered via crafted URLs. The vulnerability affects all versions from the initial release through version 2.4, indicating a long-standing input validation issue in the codebase.
Know when Wordpress Plugin 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:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NotFound Random Image Selector allows Reflected XSS. This issue affects Random Image Selector: from n/a through 2.4.
Executive ViewAI
Random Image Selector WordPress plugin versions 2.4 and earlier contain a reflected XSS vulnerability (CVSS 7.1) that allows attackers to inject malicious JavaScript through crafted links, potentially compromising site visitors' sessions and data. Organizations using this plugin face credential theft and malware injection risks if users click attacker-controlled links, requiring immediate assessment and mitigation until the vendor releases a patch.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement WAF rules to sanitize and block reflected XSS payloads targeting the plugin's parameters; (2) Disable the plugin until patched if not business-critical; (3) Apply WordPress security headers (Content-Security-Policy) to restrict inline script execution; (4) Conduct user awareness training on phishing and suspicious link risks; (5) Monitor access logs for malicious query patterns indicative of exploitation attempts.
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.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB