CVE-2021-25048
WordPress vulnerability analysis and mitigation

Overview

The KingComposer WordPress plugin through version 2.9.6 contains a security vulnerability identified as CVE-2021-25048. The vulnerability was discovered by Krzysztof Zając and was publicly disclosed on March 14, 2022. This security issue affects the profile creation functionality in the KingComposer WordPress plugin, where insufficient security controls allow authenticated users to create arbitrary profiles with malicious content (WPScan).

Technical details

The vulnerability is classified as a Stored Cross-Site Scripting (XSS) issue with a CVSS v3.1 base score of 5.4 (Medium). The technical root cause stems from three main security control failures: lack of proper authorization, missing CSRF protection, and inadequate sanitization/escaping during profile creation. The vulnerability is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD, WPScan).

Impact

When exploited, this vulnerability allows authenticated users to inject malicious JavaScript code into profiles, which can then be executed in other users' browsers when viewing the affected profiles. This could lead to theft of sensitive information, session hijacking, or other client-side attacks against WordPress administrators and users (WPScan).

Mitigation and workarounds

As of the latest available information, there is no known fix for this vulnerability in the KingComposer plugin. Website administrators using affected versions (2.9.6 and below) should consider either removing the plugin or implementing additional security controls at the web application firewall level to filter malicious inputs (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-0726HIGH8.1
  • nexter-extension
NoYesJan 20, 2026
CVE-2026-0690MEDIUM6.4
  • flatpm-wp
NoYesJan 20, 2026
CVE-2026-0608MEDIUM6.4
  • head-meta-data
NoYesJan 20, 2026
CVE-2026-0548MEDIUM5.4
  • tutor
NoYesJan 20, 2026
CVE-2026-0554MEDIUM4.3
  • notificationx
NoYesJan 20, 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