CVE-2025-4419
WordPress vulnerability analysis and mitigation

Overview

The Hot Random Image plugin for WordPress contains a Path Traversal vulnerability (CVE-2025-4419) discovered and disclosed on May 21, 2025. The vulnerability affects all versions up to and including 1.9.2 and impacts WordPress installations with the Hot Random Image plugin installed. This security issue allows authenticated attackers with Contributor-level access or higher to access arbitrary images with allowed extensions outside of the originally intended directory via the 'path' parameter (NVD, Wiz).

Technical details

The vulnerability is classified as a Path Traversal (CWE-22) issue with a CVSS v3.1 Base Score of 4.3 (Medium) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. The security flaw exists in the plugin's handling of the 'path' parameter, which fails to properly validate and restrict directory access (NVD).

Impact

When exploited, this vulnerability allows authenticated attackers with Contributor-level access or higher to access arbitrary images with allowed extensions outside of the originally intended directory. This could potentially lead to unauthorized access to sensitive image files stored in other directories on the server (Wiz).

Mitigation and workarounds

A fix has been released in version 1.9.3 of the Hot Random Image plugin. The update implements proper path validation by checking if the provided path is within the WordPress installation directory using realpath() and ABSPATH comparisons. Users are advised to update to version 1.9.3 or later to protect against this vulnerability (WordPress Plugin).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47552CRITICAL9.8
  • dzs-videogallery
NoNoJan 07, 2026
CVE-2025-46494HIGH7.1
  • widgetkit-pro
NoNoJan 07, 2026
CVE-2025-46434MEDIUM6.5
  • theplus_elementor_addon
NoYesJan 07, 2026
CVE-2025-14275MEDIUM6.4
  • jeg-elementor-kit
NoYesJan 08, 2026
CVE-2025-12640MEDIUM4.3
  • folders
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management