Algernon
CVE-2025-65754
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlace file with crafted payload in filename
-
ExploitVictim browses listing/page rendering the name
-
ExecutionUnescaped filename injected into DOM
-
ImpactScript executes in victim browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that an attacker can influence a filename that Algernon subsequently renders into an HTML response (e.g. a file whose name contains the payload is served or listed), AND that a victim then loads the page displaying that filename - UI:R means the attack cannot fire without this victim interaction. The precise feature or mode that reflects the filename (directory listing, upload handling, or template output) is not described in the available sources, so the required configuration cannot be stated with certainty. Limiting factors: the payload executes only in the victim's browser (no server compromise), impact is bounded to C:L/I:L, and the attacker needs a plausible way to introduce the crafted filename into the served content. |
| Impact | This is a moderate-severity reflected/stored cross-site scripting issue (CWE-79, CVSS 6.1) in Algernon 1.17.4, and the signals consistently point to low real-world priority rather than an emergency. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) describes a network-reachable, low-complexity flaw that requires victim user interaction (UI:R) and yields only limited confidentiality and integrity impact within a changed scope - i.e. code executing in the victim's browser, not on the server. EPSS is low at 0.44% (38th percentile), it is NOT on the CISA KEV list, and no confirmed working exploit is provided - only a PoC reference. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with a patch-in-routine-cycle posture. The input Tags include 'RCE', but nothing in the CWE, CVSS impact metrics (C:L/I:L/A:N, no server-side execution), or description supports server-side remote code execution - the phrase 'execute arbitrary code' here refers to arbitrary script execution in a browser context, a common XSS description artifact. Net: a genuine but low-to-moderate XSS, not a high-CVSS-masking-low-risk trap nor a critical emergency. |
| Exploit ScenarioDerived | An attacker arranges for a file with a maliciously crafted name (containing an HTML/JavaScript payload) to be served or listed by an Algernon instance, then lures an authenticated or anonymous user into viewing the page that renders that filename. When the browser renders the unescaped filename, the embedded script executes in the victim's session context. A public PoC reference exists, but it is not verified as working exploit code, and exploitation still requires victim interaction (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Cross-site scripting in Algernon 1.17.4 allows an attacker who can control a filename that Algernon later renders into an HTML page to execute script in a victim's browser when that page is loaded. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) scores 6.1 and confirms the attack requires victim interaction and has bounded confidentiality and integrity impact - the payload runs client-side, not on the server. There is no KEV entry and no confirmed working exploit; a public PoC reference exists but is not verified as working exploit code, and EPSS is 0.44% (38th percentile), which together with the vuln.today 'this_month' decision label points to a low-priority, routine-patching item rather than an emergency.
RemediationAI
No vendor-released patch or fixed version is identified in the available sources, and no vendor workaround is documented; administrators should track the upstream project at https://github.com/xyproto/algernon for a release that encodes filenames in generated HTML. Until such a release is confirmed, the practical compensating controls are to prevent untrusted filenames from reaching Algernon's served or listed content - for example by restricting write access to served directories to trusted operators and validating or normalizing uploaded and user-supplied filenames to reject HTML metacharacters - with the trade-off that this blocks legitimate user-driven upload or naming workflows. If the reflection occurs through directory listing in your deployment, disabling listing reduces exposure at the cost of losing browse access, and a restrictive Content-Security-Policy on Algernon-served pages mitigates script execution but requires testing against any inline scripts the site relies on. Note that these are environment-level mitigations, not vendor fixes, and the affected feature path is not described in the available sources, so validate which surface applies to your configuration before relying on a single control.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Algernon is a compact, self-contained Go web server and application platform that serves static files and supports scripted handlers (Lua, Python, Markdown, Amber templates), directory listing and file handling. The flaw is CWE-79 (improper neutralization of input during web page generation): a filename containing HTML/JavaScript metacharacters is reflected into a generated HTML response without adequate encoding, so it is interpreted by the browser rather than displayed as text. The CPE confirms the affected package as algernon_project:algernon:1.17.4. Because the impact is scope-changed but limited to C:L/I:L, exploitation is confined to the victim's browser context. The supplied sources do not state which specific feature reflects the filename - directory listing, upload handling or template output are all plausible but unconfirmed - so the exact configuration needed to trigger the flaw cannot be pinned down from available data; the trigger is not described in the available sources.
Know when Algernon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-reachable reflected/stored XSS requiring victim interaction (UI:R), scope change into the browser (S:C), with limited confidentiality/integrity and no availability impact (C:L/I:L/A:N).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Cross Site Scripting vulnerability in Algernon v1.17.4 allows attackers to execute arbitrary code via injecting a crafted payload into a filename.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
All versions of the package github.com/xyproto/algernon/engine; all versions of the package github.com/xyproto/algernon/
Unauthenticated attackers can bypass Algernon's /admin, /repo and /data authorization boundary on case-insensitive files
Path traversal in Algernon web server versions prior to 1.17.6 allows remote unauthenticated attackers to write uploaded
Path traversal in xyproto's Algernon web server prior to 1.17.8 lets unauthenticated remote attackers escape the documen
Denial of service in Algernon web server versions prior to 1.17.6 stems from a race condition in the Lua handler engine
NVD
CVE.org
EPSS
GitHub
Exploit-DB