WordPress Core < 6.2.1 - Insufficient Sanitization of Block Attributes

6.4
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
CVSS 6.4 (Medium)
Publicly Published May 16, 2023
Last Updated August 14, 2023

Description

WordPress Core failed to sufficiently sanitize block attributes in versions up to, and including, 6.2. This makes it possible for authenticated attackers with contributor-level and above permissions to embed arbitrary content in HTML comments on the page, though Cross-Site Scripting may be possible when combined with an additional vulnerability.

References

Share

1 affected software package

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched 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
Affected Versions
  • < 4.1
  • 5.7 - 5.7.9
  • 5.8 - 5.8.7
  • 5.9 - 5.9.6
Expand to see 19 more affected version ranges.
  • 6.0 - 6.0.4
  • 6.1 - 6.1.2
  • 6.2 - 6.2.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
Patched Versions
  • 4.1.38
  • 4.2.35
  • 4.3.31
  • 4.4.30
Expand to see 18 more patched versions.
  • 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

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation