# CVE-2024-8621: Daily Prayer Time <= 2024.08.26 - Authenticated (Contributor+) SQL Injection

- Severity: Critical 9.9 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-09-25T02:05:17.822Z
- Modified: 2026-06-17T08:22:59.833Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The Daily Prayer Time plugin for WordPress is vulnerable to SQL Injection via the 'max_word' attribute of the 'quran_verse' shortcode in all versions up to, and including, 2024.08.26 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query.  This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

(As written by CVE List.)

## Affected

- mmrs151 Daily Prayer Time: up to 2024.08.26
- mmrs151 daily_prayer_time: up to 2024.08.26; before 2024.09.14

## Every score

- Wordfence: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/866e4bc3-080a-4498-b210-e692d72d3db0?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/daily-prayer-time-for-mosques/tags/2024.08.26/Models/QuranADay/QuranDB.php#L72> (product)
- <https://plugins.trac.wordpress.org/changeset/3151906/> (patch)

## Sources

- CVE List: [CVE-2024-8621](https://www.cve.org/CVERecord?id=CVE-2024-8621), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-8621](https://nvd.nist.gov/vuln/detail/CVE-2024-8621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8621 · Whole record: https://cve.day/CVE-2024-8621.json · Rebuilt by cve.day 2026-11-25T22:58:45.719Z
