Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets <= 4.6.5 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via User Profile Website and Social Links

Medium 6.3 CWE-94Fixed in 4.6.6
ID
WPSEC-2026-4419
Plugin
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets (ultimate-post-kit)
Affected
from 1.5.0 before 4.6.6
Remediation
Update to 4.6.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets on WPSec AttackSurface
Fix released
Published

Description

The Ultimate Post Kit plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the user profile Website and social link fields displayed by the Author widget in all versions up to, and including, 4.6.5, due to the widget printing these user-controlled URLs into Elementor page output with only esc_url(), which keeps square brackets, while WordPress runs do_shortcode() over that output afterwards, including inside attribute values. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes on pages whose Author widget lists them.

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