CVE-2021-24139: 10Web Photo Gallery - SQL Injection
- Cve: CVE-2021-24139
- Name: 10Web Photo Gallery - SQL Injection
- Description: Unvalidated input in the Photo Gallery (10Web Photo Gallery) WordPress plugin, versions before 1.5.55, leads to SQL injection via the frontend/models/model.php bwg_search_x parameter.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
- Remediation: Update to version 1.5.55 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.05547
- Epss percentile: 0.92954
- Assignee: [email protected]
- Published at: 2021-03-18T15:15:14Z
- Age in days: 2077
- Modified at: 2026-06-17T03:39:27Z
- Patch available: yes
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24139
- Nvd status: modified
- Checked, none or zero: public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
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 | 2023-01-24 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24139 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24139.yaml |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/2e33088e-7b93-44af-aa6a-e5d924f86e28 | nvd | Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24139.yaml | nuclei_template | Nuclei Template |
| https://www.recordedfuture.com/blog/july-2026-cve-landscape | vulncheck | Vulncheck Reported Exploitation |
| https://www.hkcert.org/security-bulletin/multiple-vulnerabilities-in-internet-facing-systems-targeting-hong-kong-s-education-sector_20260724 | vulncheck | Vulncheck Reported Exploitation |
| https://www.group-ib.com/blog/jadeprox-china-nexus-triback-loader/ | vulncheck | Vulncheck Reported Exploitation |
| https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/photo-gallery/photo-gallery-by-10web-1554-sql-injection-via-bwg-search-x-parameter | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| 10web:photo_gallery | < 1.5.55 | no | nvd | /v1/products/10web/photo_gallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2023-01-24
- Remote: yes
- Exposed hosts: 1704
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, initial access since, hackerone reports