CVE-2022-0785: WordPress Daily Prayer Time - SQL Injection
- Cve: CVE-2022-0785
- Name: WordPress Daily Prayer Time - SQL Injection
- Description: The Daily Prayer Time WordPress plugin before 2022.03.01 does not sanitise and escape the month parameter before using it in a SQL statement via the get_monthly_timetable AJAX action (available to unauthenticated users), leading to an unauthenticated SQL injection
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
- Remediation: Update to version 2022.03.01 or later, where the vulnerability is fixed.
- 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.09044
- Epss percentile: 0.95409
- Assignee: [email protected]
- Published at: 2022-04-18T18:15:08Z
- Age in days: 1681
- Modified at: 2026-06-17T04:21:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0785
- Nvd status: modified
- Checked, none or zero: public exploits capped, 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 | 2026-03-10 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2022-0785 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0785.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/e1e09f56-89a4-4d6f-907b-3fb2cb825255 | nvd | 2022-04-18 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/e1e09f56-89a4-4d6f-907b-3fb2cb825255 | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0785.yaml | nuclei_template | Nuclei Template |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2022-0785 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| daily_prayer_time_project:daily_prayer_time | < 2022.03.01 | no | nvd | /v1/products/daily_prayer_time_project/daily_prayer_time |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-03-10
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-04-18
- Remote: yes
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports, exposed hosts