# Daily Prayer Time <= 2026.08.20 - Cross-Site Request Forgery to Timetable Data Deletion

- **ID:** WPSEC-2026-4134
- **Plugin:** Daily Prayer Time (`daily-prayer-time-for-mosques`), https://wordpress.org/plugins/daily-prayer-time-for-mosques/
- **Affected versions:** all versions before 2026.10.30
- **Fixed in:** 2026.10.30 (Update to 2026.10.30 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/daily-prayer-time-for-mosques
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4134/

## Description

The Daily Prayer Time plugin for WordPress is vulnerable to Cross-Site Request Forgery via the 'RESET YEARS' action of the Quick Update settings tab in all versions up to, and including, 2026.08.20. This is due to missing nonce validation on the action, which deletes all timetable rows outside the current year. This makes it possible for unauthenticated attackers to delete the site's stored prayer timetables for other years via a forged request, granted they can trick a site administrator or editor into performing an action such as clicking a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4134/
- https://plugins.svn.wordpress.org/daily-prayer-time-for-mosques/tags/2026.10.30/
- https://wordpress.org/plugins/daily-prayer-time-for-mosques/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4134/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
