Vulnerabilities / Sidebar Login / WPSEC-2026-0845

Sidebar Login <= 3.0.1 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Profile Display Name

Medium 5.4 CWE-94Fixed in 3.1.0
ID
WPSEC-2026-0845
Plugin
Sidebar Login (sidebar-login)
Affected
all versions before 3.1.0
Remediation
Update to 3.1.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-94
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-13
Attack surface
Sidebar Login on WPSec AttackSurface
Fix released
Published

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.

References

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

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

License: CC BY 4.0