CVE-2021-24855
WordPress vulnerability analysis and mitigation

Overview

The Display Post Metadata WordPress plugin (versions before 1.5.0) contained a Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24855. The vulnerability was discovered by Francesco Carlucci and publicly disclosed on November 15, 2021. The plugin, which adds a shortcode functionality to print out custom fields, failed to properly sanitize or escape content, making it susceptible to XSS attacks (WPScan Vuln).

Technical details

The vulnerability received a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The security flaw was classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The technical issue stems from the plugin's shortcode functionality that prints custom fields without proper content sanitization or escaping (NVD Database).

Impact

The vulnerability allows users with roles as low as Contributor to perform Cross-Site Scripting attacks. When successfully exploited, the XSS payload would be triggered when any user views or previews the affected post or page, potentially leading to the execution of malicious JavaScript code in the context of the victim's browser (WPScan Vuln).

Mitigation and workarounds

The vulnerability was fixed in version 1.5.0 of the Display Post Metadata plugin. Users are advised to update to this version or later to mitigate the security risk (WPScan Vuln).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14001MEDIUM5.4
  • wp-duplicate-page
NoYesJan 13, 2026
CVE-2025-14579MEDIUM4.8
  • quiz-maker
NoYesJan 12, 2026
CVE-2025-13393MEDIUM4.3
  • featured-image-from-url
NoYesJan 10, 2026
CVE-2025-14829N/AN/A
  • e-xact-hosted-payment
NoNoJan 13, 2026
CVE-2025-10915N/AN/A
  • dreamer-blog
NoNoJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management