{
 "id": "WPSEC-2026-0845",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0845/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0845/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0845/index.md",
 "title": "Sidebar Login <= 3.0.1 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Profile Display Name",
 "description": "The Sidebar Login plugin for WordPress is vulnerable to arbitrary shortcode execution via profile fields shown in the widget title in all versions up to, and including, 3.0.1. This is due to the plugin substituting user-controlled profile values, such as the display name, first name and last name, into the widget title via template tags (including the default 'Welcome %username%' logged-in title) and then passing the result through do_shortcode() without neutralizing shortcode brackets. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes by placing them in their profile name and viewing a page that displays the widget.",
 "plugin": {
  "slug": "sidebar-login",
  "name": "Sidebar Login",
  "full_name": "Sidebar Login",
  "wordpress_org": "https://wordpress.org/plugins/sidebar-login/",
  "advisories_url": "https://wpsec.com/vuln/plugin/sidebar-login/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/sidebar-login"
 },
 "type": "UNKNOWN",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.1.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.1.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.1.0",
 "remediation": "Update to 3.1.0 or later.",
 "fix_released": "2026-10-12T15:10:06+00:00",
 "published": "2026-10-13T15:59:26+00:00",
 "updated": "2026-10-13T12:12:49.024492+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0845/",
  "https://plugins.svn.wordpress.org/sidebar-login/tags/3.1.0/",
  "https://wordpress.org/plugins/sidebar-login/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/sidebar-login",
 "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-10-13"
 }
}