CVE-2021-24408
WordPress vulnerability analysis and mitigation

Overview

The Prismatic WordPress plugin before version 2.8 contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24408. The vulnerability was discovered and disclosed on June 21, 2021, affecting users with roles as low as Contributor. The issue exists in the plugin's shortcode parameters that are not properly sanitized or validated (WPScan).

Technical details

The vulnerability stems from improper sanitization of shortcode parameters, specifically in three injection points: the prismatic_code shortcode's 'class' attribute, prismatic_encoded shortcode-like syntax with HTML attributes nested inside prismatic_code shortcode, and Base-64ed payload inside prismatic_encoded shortcode-like syntax nested inside prismatic_code shortcode. The vulnerability has been assigned a CVSS score of 6.8 (medium) and is classified as CWE-79: Cross-Site Scripting (WPScan).

Impact

The vulnerability allows attackers to inject malicious scripts that can execute in victims' browsers. While posts from contributors require admin approval for the XSS to be triggered in the frontend, higher privileged users like editors can exploit this vulnerability without approval, even when the blog disallows the unfiltered_html capability (WPScan).

Exploitability

The vulnerability can be exploited through multiple vectors, including the use of HTML attributes and event handlers. Proof of concept code demonstrates exploitation using animation events and onclick handlers. The XSS payload can be triggered either automatically (using the Twenty Twenty-One theme) or through user interaction depending on the implementation (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in Prismatic version 2.8. Users are advised to upgrade to this version or later to mitigate the risk (WPScan).

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-2026-82923CRITICAL9.8
  • gw-website-builder-main
NoNoSep 04, 2026
CVE-2026-12483HIGH7.5
  • sfwd-lms
NoYesSep 04, 2026
CVE-2026-84045MEDIUM5.3
  • ecab-taxi-booking-manager
NoYesSep 04, 2026
CVE-2026-84044MEDIUM5.3
  • mp-restaurant-menu
NoYesSep 04, 2026
CVE-2026-84043MEDIUM5.3
  • epayco-gateway
NoYesSep 04, 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