All reports
Medium

WordPress Core 4.2.0 - 7.1.4 - Authenticated (Author+) Unauthorized Comment Move via Admin Editing

Affected versions

WordPresswordpress
Affected versions
>=4.2.0 <=4.6.30 || >=4.7.0 <=4.7.39 || >=4.8.0 <=4.8.34 || >=4.9.0 <=4.9.35 || >=5.0.0 <=5.0.31 || >=5.1.0 <=5.1.28 || >=5.2.0 <=5.2.30 || >=5.3.0 <=5.3.27 || >=5.4.0 <=5.4.25 || >=5.5.0 <=5.5.24 || >=5.6.0 <=5.6.23 || >=5.7.0 <=5.7.21 || >=5.8.0 <=5.8.19 || >=5.9.0 <=5.9.20 || >=6.0.0 <=6.0.18 || >=6.1.0 <=6.1.16 || >=6.2.0 <=6.2.15 || >=6.3.0 <=6.3.14 || >=6.4.0 <=6.4.14 || >=6.5.0 <=6.5.14 || >=6.6.0 <=6.6.11 || >=6.7.0 <=6.7.11 || >=6.8.0 <=6.8.12 || >=6.9.0 <=6.9.11 || >=7.0.0 <=7.0.8 || >=7.1.0 <=7.1.4
Fixed version
4.7.40 · 4.8.35 · 4.9.36 · 5.0.32 · 5.1.29 · 5.2.31 · 5.3.28 · 5.4.26 · 5.5.25 · 5.6.24 · 5.7.22 · 5.8.20 · 5.9.21 · 6.0.19 · 6.1.17 · 6.2.16 · 6.3.15 · 6.4.15 · 6.5.15 · 6.6.12 · 6.7.12 · 6.8.13 · 6.9.12 · 7.0.9 · 7.1.5

Description

WordPress Core is vulnerable to an authorization bypass in admin comment editing in versions 4.2.0 through 7.1.4. An Author who can edit a comment on their own post can change that comment's post ID to another post they cannot edit. This can place an already approved comment on another user's public post even when comments are closed there.

Links

Credits

  • Jesse McNeil

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