Medium severity · published Jun 6, 2024
CVE-2024-5162
WordPress prettyPhoto <= 1.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via url Parameter
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
The WordPress prettyPhoto plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘url’ parameter in all versions up to, and including, 1.2.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 27% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PS
PrettyPhoto – Simple Lightbox Plugin · ibabar
through 1.2.3 · source: vendor
PR
Prettyphoto · Master-addons
through 1.2.3 · source: NVD
Affected product
PS
PrettyPhoto – Simple Lightbox Plugin
ibabar
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-5162
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-5162
Patch
https://plugins.trac.wordpress.org/browser/prettyphoto/trunk/addon/jltma-wpf-addon.php#L96
wordpress.org
https://wordpress.org/plugins/prettyphoto/#developers
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/c581616d-c9e7-46f2-9c2f-5e082a13fd0b?source=cve
