PT-2024-29167
CVE-2024-4095
·
Published
2024-06-15
·
Updated
2024-06-17
Description by
CVSS 3.1
6.4
MediumMetricsAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Collapse-O-Matic plugin for WordPress versions up to, and including, 1.8.5.7
Description
The issue arises from insufficient input sanitization and output escaping on user-supplied attributes in the 'expand' and 'expandsub' shortcode. This allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages, which will execute whenever a user accesses an injected page.
Recommendations
For Collapse-O-Matic plugin for WordPress versions up to, and including, 1.8.5.7, update to a version later than 1.8.5.7 to resolve the issue. As a temporary workaround, consider restricting access to the 'expand' and 'expandsub' shortcode to prevent exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾