CVE-2024-2879: LayerSlider - SQL Injection
- Cve: CVE-2024-2879
- Name: LayerSlider - SQL Injection
- Description: 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.
- Impact: Attackers can execute arbitrary SQL queries, leading to data leakage or database compromise.
- Remediation: Update to the latest version of LayerSlider plugin that addresses this vulnerability.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.18402
- Epss percentile: 0.97303
- Assignee: [email protected]
- Published at: 2024-04-03T04:15:11Z
- Age in days: 965
- Modified at: 2026-06-17T07:25:44Z
- Public exploits total: 2
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2879
- Nvd status: modified
- Checked, none or zero: patch available, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-05-04 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-2879 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-2879.yaml |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/herculeszxc/CVE-2024-2879 | poc-in-github | 2024-04-08 |
| https://github.com/herculeszxc/CVE-2024-2879.git | vulncheck-xdb | 2024-04-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.wordfence.com/threat-intel/vulnerabilities/id/3fddf96e-029c-4753-ba82-043ca64b78d3?source=cve | nvd | Third Party Advisory |
| https://layerslider.com/release-log/ | nvd | Release Notes |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-2879.yaml | nuclei_template | Nuclei Template |
| https://patchstack.com/database/wordpress/plugin/layerslider/vulnerability/wordpress-layerslider-plugin-7-9-11-7-10-0-unauth-sql-injection-vulnerability | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kreaturamedia:layerslider | = 7.10.0, = 7.9.11 | no | nvd | /v1/products/kreaturamedia/layerslider |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-05-04
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2024-04-08
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, exposed hosts