All reports
Medium

WordPress Core < 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Embed Discovery

Affected versions

WordPresswordpress
Affected versions
<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 stored Cross-Site Scripting in versions up to, and including, 6.2, due to insufficient validation of the protocol in the response when processing oEmbed discovery. This makes it possible for authenticated attackers with contributor-level and above permissions to use a crafted oEmbed payload at a remote URL to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Links

Credits

  • Jakub Zoczek

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