CVE-2021-24136
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24136 affects the Testimonials Widget WordPress plugin versions before 4.0.0. It was discovered in May 2020 and publicly disclosed on July 3rd, 2020. The vulnerability stems from unvalidated input and lack of output encoding in multiple fields of the plugin (WPScan).

Technical details

The vulnerability is classified as a Multiple Authenticated Stored Cross-Site Scripting (XSS) issue with a CVSS score of 5.5 (medium). The vulnerability exists in the templates folder where the plugin echoes user input values without proper sanitization. The affected parameters include Author, Job Title, Location, Company, Email, and URL fields. The vulnerability is tracked as CWE-79 and falls under the OWASP Top 10 category A7: Cross-Site Scripting (WPScan).

Impact

Successful exploitation of this vulnerability allows authenticated users with medium-level privileges (contributor or higher) to inject arbitrary JavaScript code or HTML. The injected script is executed for all users visiting the website. For contributors, the testimonials go through a manual review process before execution (WPScan).

Exploitability

The vulnerability can be exploited by authenticated users with contributor-level access or higher. The attack vector involves creating a new testimonial and injecting malicious JavaScript code or HTML through various input fields. The injected code is executed when users visit either the testimonial permalink or posts containing embedded testimonial shortcodes (WPScan).

Mitigation and workarounds

The vulnerability was fixed in version 4.0.0 of the Testimonials Widget plugin, released on July 12th, 2020. Users are advised to update to this version or later to mitigate the vulnerability (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-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 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