WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Template Part Block

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-31111
CVSS 6.4 (Medium)
Publicly Published June 24, 2024
Last Updated July 10, 2024
Researcher Rafie Muhammad - Patchstack

Description

WordPress Core is vulnerable to Stored Cross-Site Scripting via the Template Part Block in various versions up to 6.5.5 due to insufficient input sanitization and output escaping on the 'tagName' attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. CVE-2024-37492 is a duplicate CVE assignment.

References

Share

Vulnerability Details for Gutenberg

Software Type Plugin
Software Slug gutenberg (view on wordpress.org)
Patched? Yes
Remediation Update to version 18.6.1, or a newer patched version
Affected Version
  • <= 18.6.0
Patched Version
  • 18.6.1

1 other affected software package

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 5.9.10, 6.0.9, 6.1.7, 6.2.6, 6.3.5, 6.4.5, 6.5.5
Affected Versions
  • 5.9 - 5.9.9
  • 6.0 - 6.0.8
  • 6.1 - 6.1.6
  • 6.2 - 6.2.5
Expand to see 3 more affected version ranges.
  • 6.3 - 6.3.4
  • 6.4 - 6.4.4
  • 6.5 - 6.5.4
Patched Versions
  • 5.9.10
  • 6.0.9
  • 6.1.7
  • 6.2.6
Expand to see 3 more patched versions.
  • 6.3.5
  • 6.4.5
  • 6.5.5

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