Latest Post Shortcode <= 14.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Generator Modal

Medium 5.4 CWE-79Fixed in 14.3.1
ID
WPSEC-2026-4624
Plugin
Latest Post Shortcode (latest-post-shortcode)
Affected
from 14.3.0 before 14.3.1
Remediation
Update to 14.3.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-12-04
Attack surface
Latest Post Shortcode on WPSec AttackSurface
Fix released
Published

Description

The Latest Post Shortcode plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the shortcode generator modal in all versions up to, and including, 14.3.0. The cause is that the block's shortcode attribute is written into the page with jQuery's .html(). That attribute can be read as decoded text from block markup saved in the pre-13.0.0 format, so it bypasses the attribute sanitization. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a higher-privileged user opens the shortcode generator modal for the affected block.

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