WordPress Core < 6.0.3 - Reflected Cross-Site Scripting via SQL Injection

8.8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-43497
CVSS 8.8 (High)
Publicly Published October 18, 2022
Last Updated December 16, 2022
Researchers Ben Bidner
Marc-Alexandre Montpas

Description

WordPress Core is vulnerable to SQL Injection in the Media Library that can be leveraged to exploit a Reflected Cross-Site Scripting issue in versions up to 6.0.3. This is due to insufficient escaping on user supplied values passed to a SQL query. This makes it possible for an attacker to achieved JavaScript code execution in a victims browser, granted they can trick the victim into performing an action such as clicking on a link.

References

Share

1 affected software package

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 3.7.40, 3.8.40, 3.9.38, 4.0.37, 4.1.37, 4.2.34, 4.3.30, 4.4.29, 4.5.28, 4.6.25, 4.7.25, 4.8.21, 4.9.22, 5.0.18, 5.1.15, 5.2.17, 5.3.14, 5.4.12, 5.5.11, 5.6.10, 5.7.8, 5.8.6, 5.9.5, 6.0.3
Affected Versions
  • <= 3.6.1
  • 5.6 - 5.6.9
  • 5.7 - 5.7.7
  • 5.8 - 5.8.5
Expand to see 21 more affected version ranges.
  • 5.9 - 5.9.4
  • 6.0 - 6.0.2
  • 3.7 - 3.7.39
  • 3.8 - 3.8.39
  • 3.9 - 3.9.37
  • 4.0 - 4.0.36
  • 4.1 - 4.1.36
  • 4.2 - 4.2.33
  • 4.3 - 4.3.29
  • 4.4 - 4.4.28
  • 4.5 - 4.5.27
  • 4.6 - 4.6.24
  • 4.7 - 4.7.24
  • 4.8 - 4.8.20
  • 4.9 - 4.9.21
  • 5.0 - 5.0.17
  • 5.1 - 5.1.14
  • 5.2 - 5.2.16
  • 5.3 - 5.3.13
  • 5.4 - 5.4.11
  • 5.5 - 5.5.10
Patched Versions
  • 3.7.40
  • 3.8.40
  • 3.9.38
  • 4.0.37
Expand to see 20 more patched versions.
  • 4.1.37
  • 4.2.34
  • 4.3.30
  • 4.4.29
  • 4.5.28
  • 4.6.25
  • 4.7.25
  • 4.8.21
  • 4.9.22
  • 5.0.18
  • 5.1.15
  • 5.2.17
  • 5.3.14
  • 5.4.12
  • 5.5.11
  • 5.6.10
  • 5.7.8
  • 5.8.6
  • 5.9.5
  • 6.0.3

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