Skip to content

CVE-2023-5205 Add Custom Body Class <= 1.4.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

MediumCVSS 5.4 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

The Add Custom Body Class plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'add_custom_body_class' value in versions up to, and including, 1.4.1 due to insufficient input sanitization and output escaping. 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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
anilankola Add Custom Body Class <= 1.4.1 after 1.4.1 Fixed
wordpress add-custom-body-class(WordPress) <= 1.4.1 after 1.4.1 Fixed

Affected products

ProductAffected versionsFixed in
anilankola Add Custom Body Class <= 1.4.1 No fix listed
wordpress add-custom-body-class(WordPress) <= 1.4.1 No fix listed

References