CVE-2025-62041

WordPress TheGem (Elementor) theme <= 5.10.5.1 - Cross Site Scripting (XSS) vulnerability

Published Nov 6, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CodexThemes TheGem (Elementor) thegem-elementor.This issue affects TheGem (Elementor): from n/a through <= 5.10.5.1.

Analysis

AI-generated

Technical impact

The Gem (Elementor) theme contains an improper neutralization of input when generating web pages, which permits attackers to inject arbitrary script code. An attacker can embed malicious scripts that execute in the browser of any visitor viewing the affected pages, enabling session hijacking, defacement or other client‑side attacks. The flaw is a typical Cross‑Site Scripting (CWE‑79) weakness, where unsanitized data is reflected or output in the page without proper escaping. Because the script runs in the victim’s context, the attacker can also perform actions with the victim’s privileges, compromising confidentiality and integrity of the site.

Affected Systems

All WordPress sites using CodexThemes TheGem (Elementor) theme version 5.10.5.1 or earlier are vulnerable. This includes every installation that has not applied the later patch releases.

Risk and Exploitability

The CVSS score of 7.1 marks this flaw as moderate‑to‑high severity, while an EPSS score of less than 1 % suggests a low current exploitation likelihood. The vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw remotely by supplying crafted input to the theme, such as via theme settings or database content that is not properly sanitized; only a victim’s browser needs to render the page for the script to execute. Based on the description, it is inferred that the most likely attack vector involves unsanitized data being processed through the theme’s output functions, but the CVE text does not explicitly confirm which controls are not sanitized.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CodexThemes TheGem (Elementor) to the latest version (>= 5.10.5.2).
  • If upgrading is not immediately feasible, disable or remove theme features that accept user‑supplied content, or sanitize those inputs with WordPress utilities such as wp_kses to prevent injection.
  • Implement a Content Security Policy that blocks inline scripts and restricts script sources to approved domains, thereby limiting the impact of any residual injection.

Generated by OpenCVE AI on April 29, 2026 at 16:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Codexthemes
Codexthemes thegem
Elementor
Elementor elementor
Wordpress
Wordpress wordpress
Vendors & Products Codexthemes
Codexthemes thegem
Elementor
Elementor elementor
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CodexThemes TheGem (Elementor) thegem-elementor.This issue affects TheGem (Elementor): from n/a through <= 5.10.5.1.
Title WordPress TheGem (Elementor) theme <= 5.10.5.1 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 6:50 PM
Reserved
Oct 7, 2025, 3:34 PM
Status
Deferred
Published
Nov 6, 2025, 4:16 PM
Modified
Oct 7, 2026, 9:10 PM