Slim SEO – AI SEO Plugin, Lightweight, Fast & Automated <= 4.11.6 - Unauthenticated Arbitrary Shortcode Execution via Search Query in Breadcrumbs

Medium 5.6 CWE-94Fixed in 4.11.7
ID
WPSEC-2026-4227
Plugin
Slim SEO – AI SEO Plugin, Lightweight, Fast & Automated (slim-seo)
Affected
all versions before 4.11.7
Remediation
Update to 4.11.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-29
Attack surface
Slim SEO – AI SEO Plugin, Lightweight, Fast & Automated on WPSec AttackSurface
Fix released
Published

Description

The Slim SEO plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via breadcrumbs in all versions up to, and including, 4.11.6. This is due to breadcrumb output containing unencoded square brackets from user-controlled texts such as the search query. Shortcodes in that text can then run when the breadcrumb output passes through a later do_shortcode() call. This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes on sites where the breadcrumb output is processed for shortcodes.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0