WordPress Core < 6.3.2 – Authenticated (Subscriber+) Arbitrary Shortcode Execution via parse-media-shortcode

Improper Input Validation
CVE Not available
CVSS Medium (5.4)
Publicly Published October 12, 2023
Last Updated January 22, 2024
Researcher James Golovich, WhiteCyberSec
Description

WordPress Core is vulnerable to arbitrary shortcode execution in versions up to, and including, 6.3.1 due to a lack of input validation on the 'shortcode' parameter in the parse_media_shortcode AJAX function. This allows authenticated attackers, with subscriber-level privileges and above, to execute arbitrary shortcodes.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.1.38
  • 4.2 - 4.2.35
  • 4.3 - 4.3.31
  • 4.4 - 4.4.30
  • 4.5 - 4.5.29
  • 4.6 - 4.6.26
  • 4.7 - 4.7.26
  • 4.8 - 4.8.22
  • 4.9 - 4.9.23
  • 5.0 - 5.0.19
  • 5.1 - 5.1.16
  • 5.2 - 5.2.18
  • 5.3 - 5.3.15
  • 5.4 - 5.4.13
  • 5.5 - 5.5.12
  • 5.6 - 5.6.11
  • 5.7 - 5.7.9
  • 5.8 - 5.8.7
  • 5.9 - 5.9.7
  • 6.0 - 6.0.5
  • 6.1 - 6.1.3
  • 6.2 - 6.2.2
  • 6.3 - 6.3.1
Patched Version
  • 4.1.39
  • 4.2.36
  • 4.3.32
  • 4.4.31
  • 4.5.30
  • 4.6.27
  • 4.7.27
  • 4.8.23
  • 4.9.24
  • 5.0.20
  • 5.1.17
  • 5.2.19
  • 5.3.16
  • 5.4.14
  • 5.5.13
  • 5.6.12
  • 5.7.10
  • 5.8.8
  • 5.9.8
  • 6.0.6
  • 6.1.4
  • 6.2.3
  • 6.3.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.