CVE-2021-24561
WordPress vulnerability analysis and mitigation

Overview

The WP SMS WordPress plugin before version 5.4.13 contains an Authenticated Stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24561. The vulnerability exists due to improper sanitization of the 'wp_group_name' parameter in the 'Groups' page. This security issue was discovered and reported by Muhammad Daffa, and was publicly disclosed on July 26, 2021 (WPScan).

Technical details

The vulnerability stems from insufficient input sanitization where the plugin fails to properly sanitize the 'wp_group_name' parameter before outputting it back in the 'Groups' page. This allows for the injection of malicious JavaScript code. The issue has been assigned a CVSS score of 5.4 (Medium) under CVSS v3.1 with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

When exploited, this vulnerability allows authenticated users to store and execute malicious JavaScript code that would run in the context of other users' browsers when they visit the affected Groups page. This could lead to theft of sensitive information, session hijacking, or other client-side attacks against WordPress administrators or other users with access to the Groups page.

Exploitability

The vulnerability requires an authenticated user account to exploit. A proof of concept exists demonstrating the vulnerability can be triggered by adding or editing a Group with a specifically crafted name containing JavaScript code. For example, one of the documented payloads includes using animation events to trigger JavaScript execution (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 5.4.13 of the WP SMS plugin. Site administrators are strongly advised to update to this version or later. The fix includes proper sanitization of the wp_group_name parameter and additional security improvements (WordPress Plugin Repository).

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