CVE-2024-5162: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ibabar PrettyPhoto – Simple Lightbox Plugin
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.
AI Analysis
Technical Summary
CVE-2024-5162 is a stored cross-site scripting vulnerability (CWE-79) in the ibabar PrettyPhoto – Simple Lightbox Plugin for WordPress. The flaw exists in all versions up to and including 1.2.3, where the 'url' parameter is not properly sanitized or escaped. This allows authenticated attackers with Contributor or higher privileges to inject arbitrary web scripts that execute in the context of users viewing the compromised pages. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The vulnerability impacts confidentiality and integrity but not availability.
Potential Impact
An attacker with Contributor-level or higher access can store malicious scripts via the 'url' parameter, leading to script execution in other users' browsers when they access the injected pages. This can result in unauthorized actions or data exposure within the context of the affected WordPress site. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided in the available data. Users should monitor the vendor's advisory for updates and apply any official patches once released. Until then, restrict Contributor-level access to trusted users and consider disabling or replacing the PrettyPhoto plugin to mitigate risk.
CVE-2024-5162: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ibabar PrettyPhoto – Simple Lightbox Plugin
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5162 is a stored cross-site scripting vulnerability (CWE-79) in the ibabar PrettyPhoto – Simple Lightbox Plugin for WordPress. The flaw exists in all versions up to and including 1.2.3, where the 'url' parameter is not properly sanitized or escaped. This allows authenticated attackers with Contributor or higher privileges to inject arbitrary web scripts that execute in the context of users viewing the compromised pages. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The vulnerability impacts confidentiality and integrity but not availability.
Potential Impact
An attacker with Contributor-level or higher access can store malicious scripts via the 'url' parameter, leading to script execution in other users' browsers when they access the injected pages. This can result in unauthorized actions or data exposure within the context of the affected WordPress site. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided in the available data. Users should monitor the vendor's advisory for updates and apply any official patches once released. Until then, restrict Contributor-level access to trusted users and consider disabling or replacing the PrettyPhoto plugin to mitigate risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-20T23:17:51.872Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6bdeb7ef31ef0b55ba1c
Added to database: 2/25/2026, 9:38:38 PM
Last enriched: 4/9/2026, 7:53:38 AM
Last updated: 4/12/2026, 6:11:10 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.