{
 "id": "WPSEC-2026-1535",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1535/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1535/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1535/index.md",
 "title": "SecuPress Free <= 2.7.2 - Unauthenticated IP Allowlist Bypass via IPv6 CIDR Range Matching",
 "description": "The SecuPress with Simple SSL plugin for WordPress is vulnerable to an IP allowlist bypass via IPv6 CIDR range matching in all versions up to, and including, 2.7.2. The cause is an incorrect comparison in the secupress_is_ip_in_range() function. It overwrites the prefix mask inside its loop and returns a match as soon as any one 16-bit group within the prefix matches, instead of requiring the whole prefix to match. The plugin's built-in allowlist always contains IPv6 CIDR entries such as 2001:4860::/32, 2a00:1450::/29, 2607:f8b0::/32 and 2a02:2350:4:200::/55, so any address that shares a single group with one of them (for example any 2001::/16 address) counts as allowlisted. This makes it possible for unauthenticated attackers with such an IPv6 address to skip IP bans, the Limit Login Attempts protection, the firewall and other IP-based protections. In 2.7.2 the same flaw also caused such addresses to be trusted as Cloudflare proxies, so their CF-Connecting-IP header was accepted as the client IP.",
 "plugin": {
  "slug": "secupress",
  "name": "SecuPress Free",
  "full_name": "SecuPress with Simple SSL – Simple and Performant Security",
  "wordpress_org": "https://wordpress.org/plugins/secupress/",
  "advisories_url": "https://wpsec.com/vuln/plugin/secupress/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/secupress"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-1023"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.7.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.7.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.7.3",
 "remediation": "Update to 2.7.3 or later.",
 "fix_released": "2026-10-22T16:02:40+00:00",
 "published": "2026-10-23T16:44:59+00:00",
 "updated": "2026-10-23T07:09:36.439139+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1535/",
  "https://plugins.svn.wordpress.org/secupress/tags/2.7.3/",
  "https://wordpress.org/plugins/secupress/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/secupress",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-23"
 }
}