PT-2023-31910 · WordPress · Add Custom Body Class

Francesco Carlucci

·

Published

2023-10-21

·

Updated

2023-10-27

·

CVE-2023-5205

CVSS v3.1

6.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Add Custom Body Class plugin for WordPress versions up to, and including, 1.4.1
Description The issue is related to Stored Cross-Site Scripting via the add custom body class value due to insufficient input sanitization and output escaping. This allows 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.
Recommendations For versions up to, and including, 1.4.1, update to a version that addresses the insufficient input sanitization and output escaping issue. As a temporary workaround, consider restricting access to the add custom body class value to minimize the risk of exploitation.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-5205

Affected Products

Add Custom Body Class