{
 "id": "WPSEC-2026-2340",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2340/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2340/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2340/index.md",
 "title": "WP Compress <= 7.30.35 - Cross-Site Request Forgery to Lite Connect",
 "description": "The WP Compress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 7.30.35. This is due to missing nonce validation on the wps_lite_connect AJAX action. This makes it possible for unauthenticated attackers to run the plugin's Lite connection flow with a forged request, which overwrites the site's stored API key with a newly issued Lite key and switches the plugin to Lite mode, granted they can trick a site administrator into performing an action such as clicking on a link.",
 "plugin": {
  "slug": "wp-compress-image-optimizer",
  "name": "WP Compress",
  "full_name": "WP Compress – Instant Performance & Speed Optimization",
  "wordpress_org": "https://wordpress.org/plugins/wp-compress-image-optimizer/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-compress-image-optimizer/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-compress-image-optimizer"
 },
 "type": "CSRF",
 "cwe": [
  "CWE-352"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "7.30.45",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 7.30.45"
  ]
 },
 "introduced_in": null,
 "fixed_in": "7.30.45",
 "remediation": "Update to 7.30.45 or later.",
 "fix_released": "2026-11-02T10:49:06+00:00",
 "published": "2026-11-03T14:48:33+00:00",
 "updated": "2026-11-03T13:39:29.129296+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2340/",
  "https://plugins.svn.wordpress.org/wp-compress-image-optimizer/tags/7.30.45/",
  "https://wordpress.org/plugins/wp-compress-image-optimizer/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-compress-image-optimizer",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-03"
 }
}