All reports
Medium

WordPress Core < 6.2.2 - Shortcode Execution in User Generated Content

Affected versions

WordPresswordpress
Affected versions
>=5.9 <5.9.7 || >=6.0 <6.0.5 || >=6.1 <6.1.3 || >=6.2 <6.2.2
Fixed version
5.9.7 · 6.0.5 · 6.1.3 · 6.2.2

Description

WordPress Core processes shortcodes in user-generated content on block themes in versions up to, and including, 6.2.1. This could allow unauthenticated attackers to execute shortcodes via submitting comments or other content, allowing them to exploit vulnerabilities that typically require Subscriber or Contributor-level permissions. While this is likely to have minimal impact on its own, it can significantly increase the severity of other vulnerabilities.

Links

Credits

  • Liam Gladdy

Data rights and licenses

Wordfence

Copyright 2012-2026 Defiant Inc.

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 terms