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

- **ID:** WPSEC-2026-4623
- **Plugin:** Latest Post Shortcode (`latest-post-shortcode`), https://wordpress.org/plugins/latest-post-shortcode/
- **Affected versions:** all versions before 14.3.1
- **Fixed in:** 14.3.1 (Update to 14.3.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/latest-post-shortcode
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4623/

## Description

The Latest Post Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'titletag', 'more' and 'linktext' shortcode and block attributes in all versions up to, and including, 14.3.0 due to insufficient input sanitization and output escaping, including the title tag being printed in the tag-name position of the slider output without validation. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-4623/
- https://plugins.svn.wordpress.org/latest-post-shortcode/tags/14.3.1/
- https://wordpress.org/plugins/latest-post-shortcode/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4623/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
