Skip to main content

Algernon CVE-2025-65754

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-10 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Place file with crafted payload in filename
  2. Exploit
    Victim browses listing/page rendering the name
  3. Execution
    Unescaped filename injected into DOM
  4. Impact
    Script 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

go github.com/xyproto/algernon fix: 1.17.5

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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Rare
niche open-source Go web/application server, minimal production footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:algernon_project:algernon:1.17.4:*:*:*:*:*:*:*

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy