CVE-2025-22590

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the Prayer Times Anywhere WordPress plugin allows attackers to inject malicious scripts that become stored XSS. When exploited, this enables attackers to execute arbitrary JavaScript in victims' browsers. This affects all WordPress sites using Prayer Times Anywhere plugin versions up to and including 2.0.1.

💻 Affected Systems

Products:
  • Prayer Times Anywhere WordPress Plugin
Versions: n/a through 2.0.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the plugin to be installed and activated on a WordPress site. Attack requires tricking authenticated users into performing actions.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress admin accounts, deface websites, or redirect visitors to malicious sites through persistent malicious scripts.

🟠

Likely Case

Attackers trick authenticated administrators into clicking malicious links that inject JavaScript payloads, leading to session hijacking or website defacement.

🟢

If Mitigated

With proper CSRF tokens and input validation, the attack chain would be broken at the initial CSRF stage, preventing XSS injection.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires social engineering to trick authenticated users into clicking malicious links. The CSRF leads to stored XSS, making the attack persistent.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 2.0.1

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/prayer-times-anywhere/vulnerability/wordpress-prayer-times-anywhere-plugin-2-0-1-csrf-to-stored-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Prayer Times Anywhere' and check if update is available. 4. Click 'Update Now' to install the latest version. 5. Verify the plugin version is above 2.0.1.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until patched to prevent exploitation.

wp plugin deactivate prayer-times-anywhere

🧯 If You Can't Patch

  • Disable the Prayer Times Anywhere plugin completely.
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Prayer Times Anywhere version. If version is 2.0.1 or lower, you are vulnerable.

Check Version:

wp plugin get prayer-times-anywhere --field=version

Verify Fix Applied:

After updating, verify the plugin version shows higher than 2.0.1 in WordPress admin plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to prayer-times-anywhere admin endpoints without referrer headers
  • JavaScript injection patterns in plugin settings or content

Network Indicators:

  • CSRF attack patterns with malicious payloads targeting plugin endpoints

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" OR uri_path CONTAINS "prayer-times-anywhere") AND http_method="POST" AND referrer=""

🔗 References

📤 Share & Export