CVE-2025-62012

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

Published Nov 6, 2025 CVSS 3.1 · 6.5 Medium 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.

Analysis

AI-generated

Technical impact

The Gem (Elementor) theme contains an XSS flaw caused by insufficient sanitization of data that is subsequently injected into a page’s output. An attacker can craft input that is stored in theme options, widget content, or other editable fields and that is rendered without escaping, thereby causing arbitrary JavaScript to run in the browsers of visitors to affected pages. This could allow session hijacking, credential theft, or defacement of user‑facing content.

Affected Systems

CodexThemes TheGem (Elementor) theme for WordPress, all releases up through version 5.10.5, including the 5.10.5 snapshot and all earlier minor revisions.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1 % suggests a low likelihood of active exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The description indicates that the flaw arises from unsanitized user input that the theme renders, so the most probable attack vector is through any user‐editable content that the theme outputs; however, the specific affected fields are not enumerated in the advisory, so site operators must audit all places where the theme accepts and displays input without applying proper escaping.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the TheGem (Elementor) theme to the newest release that fixes the XSS issue.
  • If an upgrade is not immediately possible, disable any theme features that permit users to insert raw HTML or JavaScript, or limit such content to a sanitized subset.
  • Configure a Content Security Policy that disallows inline scripts and restricts script sources to trusted origins, which will block the execution of injected JavaScript on the site.

Generated by OpenCVE AI on April 29, 2026 at 23:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/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.
Title WordPress TheGem (Elementor) theme <= 5.10.5 - 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:47 PM
Reserved
Oct 7, 2025, 3:34 PM
Status
Deferred
Published
Nov 6, 2025, 4:16 PM
Modified
Oct 7, 2026, 9:10 PM