Category Posts Widget <= 4.9.16 & Pro < 4.9.13 - Authenticated (Admin+) Stored Cross-Site Scripting

4.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-6158
CVSS 4.4 (Medium)
Publicly Published July 19, 2024
Last Updated July 25, 2024
Researcher Dmitrii Ignatyev - CleanTalk Inc

Description

The Category Posts Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the excerpt_more_text field in all versions up to, and including, 4.9.16 (and versions up to 4.9.13 for PRO) due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

References

Share

2 affected software packages

Software Type Plugin
Software Slug category-posts (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.9.17, or a newer patched version
Affected Version
  • <= 4.9.16
Patched Version
  • 4.9.17
Software Type Plugin
Software Slug term-and-category-based-posts-widget
Patched? Yes
Remediation Update to version 4.9.13, or a newer patched version
Affected Version
  • <= 4.9.12
Patched Version
  • 4.9.13

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