CVE-2024-5442
WordPress vulnerability analysis and mitigation

Overview

The Photo Gallery, Sliders, Proofing and WordPress plugin (NextGEN Gallery) before version 3.59.3 contains a stored Cross-Site Scripting (XSS) vulnerability. The vulnerability was discovered on June 22, 2024, and was assigned identifier CVE-2024-5442. This security issue affects the plugin's settings functionality, specifically impacting high-privilege users such as administrators (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of certain settings within the plugin. This security weakness allows high-privilege users to perform Stored Cross-Site Scripting attacks, even when the unfiltered_html capability is disallowed, such as in multisite setups. The vulnerability has been assigned a CVSS 3.1 base score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L (NVD).

Impact

The vulnerability could allow authenticated administrators to inject and store malicious JavaScript code in the plugin's settings. This stored XSS could potentially be triggered when other users access specific pages containing the compromised album content, potentially leading to session hijacking, credential theft, or other client-side attacks (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 3.59.3 of the NextGEN Gallery plugin. Site administrators are strongly advised to update to this version or later to mitigate the security risk (WPScan).

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-14030MEDIUM6.4
  • ai-feeds
NoYesDec 12, 2025
CVE-2025-12965MEDIUM6.4
  • magical-posts-display
NoYesDec 12, 2025
CVE-2025-14442MEDIUM5.3
  • secure-copy-content-protection
NoYesDec 12, 2025
CVE-2025-14065MEDIUM5.3
  • simple-bike-rental
NoYesDec 12, 2025
CVE-2025-14159MEDIUM4.3
  • secure-copy-content-protection
NoYesDec 12, 2025

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