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.

Project Subscriptions

Vendors Products
Anilankola Subscribe
Add Custom Body Class Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2023-57536 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
Title Add Custom Body Class <= 1.4.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Thu, 06 Feb 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:10:39.055Z

Reserved: 2023-09-26T15:04:11.588Z

Link: CVE-2023-5205

cve-icon Vulnrichment

Updated: 2024-08-02T07:52:08.257Z

cve-icon NVD

Status : Modified

Published: 2023-10-21T08:15:09.053

Modified: 2026-04-08T18:18:24.737

Link: CVE-2023-5205

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses