All reports
Medium

WordPress Core < 6.2.1 - Cross-Site Request Forgery

Affected versions

WordPresswordpress
Affected versions
<4.1 || >=4.1 <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.6 || >=6.0 <6.0.4 || >=6.1 <6.1.2 || >=6.2 <6.2.1
Fixed version
4.1.38 · 4.2.35 · 4.3.31 · 4.4.30 · 4.5.29 · 4.6.26 · 4.7.26 · 4.8.22 · 4.9.23 · 5.0.19 · 5.1.16 · 5.2.18 · 5.3.15 · 5.4.13 · 5.5.12 · 5.6.11 · 5.7.9 · 5.8.7 · 5.9.6 · 6.0.4 · 6.1.2 · 6.2.1

Description

WordPress Core is vulnerable to Cross-Site Request Forgery due to missing nonce validation on the ‘wp_ajax_set_attachment_thumbnail’ AJAX function in versions up to, and including, 6.2. This allows unauthenticated users to update the thumbnail image associated with existing attachments, granted they can trick an authenticated user with appropriate permissions into performing an action, such as clicking a link. The impact of this vulnerability is incredibly minimal.

Links

Credits

  • John Blackbourn

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