CVE-2024-2879: The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in vers
CVE-2024-2879 is a critical-severity flaw (CVSS 9.8) affecting layerslider. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7.9.11 and 7.10.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 18.4% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2024-04-03 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-2879?
layerslider: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-2879 being exploited?
CVE-2024-2879 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-2879 affect?
CVE-2024-2879 affects layerslider. Severity is critical (CVSS 9.8). The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7.9.11 and 7.10.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the exist
How urgent is CVE-2024-2879?
Priority 64/100. Critical severity; EPSS top 3%: very likely to be exploited; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-47786 MEDIUM 6.5 UPGRADE Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in LayerSli
- CVE-2023-47785 HIGH 7.1 UPGRADE Cross-Site Request Forgery (CSRF) vulnerability in LayerSlider plugin <= 7.7.9 versions.