CVE-2023-50892
WordPress vulnerability analysis and mitigation

Overview

A Reflected Cross-Site Scripting (XSS) vulnerability was discovered in CodexThemes TheGem - Creative Multi-Purpose & WooCommerce WordPress Theme, affecting versions up to and including 5.9.1. The vulnerability was reported on December 26, 2023, and was assigned CVE-2023-50892. This security flaw allows unauthenticated attackers to inject malicious web scripts into pages that execute when users interact with specially crafted content (Patchstack, WPScan).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and stems from insufficient input sanitization and output escaping in the theme. The severity of this vulnerability has been assessed with multiple CVSS scores: NIST assigned a CVSS v3.1 Base Score of 6.1 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, while Patchstack rated it at 7.1 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L (NVD).

Impact

The vulnerability allows attackers to inject arbitrary web scripts that execute when users perform specific actions, such as clicking on a malicious link. This could enable malicious actors to inject scripts for redirects, advertisements, and other HTML payloads into the website, which would be executed when guests visit the site (Patchstack).

Mitigation and workarounds

The vulnerability has been fixed in version 5.9.2 of TheGem theme. Users are advised to update to version 5.9.2 or later to resolve the vulnerability. Additionally, Patchstack has issued a virtual patch to mitigate this issue by blocking potential attacks until users can update to the fixed version (Patchstack).

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