Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain ability to name a file in served directory
-
DeliveryUpload/create file with crafted XSS name
-
ExploitVictim opens autoIndex directory listing
-
ExecutionUnescaped name executes JS in server origin
-
ImpactSteal cookies/tokens or act as victim
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires ALL of the following: (1) FileService configured with autoIndex(true) (directory listing enabled) - the default is off, so this is a non-default configuration; (2) the served directory must contain file names controllable by an untrusted party, such as a user-upload directory; (3) a victim must open the directory listing in a browser (case 1 fires on page load, case 2 requires clicking a crafted 'javascript:' link). Limiting factors: the server host must be non-Windows, because Windows forbids the reserved characters (<>:") needed in the malicious file name; PR:L means the attacker needs some ability to place/name files; impact is limited to the victim's browser session in the server origin (no server-side compromise). The only complete fix per the advisory is upgrading to Armeria 1.43.0. |
| Impact | This is a genuinely low-priority issue despite being a real, confirmed stored XSS. The vendor's CVSS 4.0 vector (2.4, low) reflects multiple limiting metrics: PR:L (attacker must be able to control a file name in the served directory), UI:P (a victim must open the directory listing), and impact confined to the subsequent system (SC:L/SI:L, i.e. the victim's browser session) with no impact to the server itself (VC:N/VI:N/VA:N). The vuln.today decision label is 'monitor,' consistent with low urgency. No EPSS score and no KEV listing were provided in the input, so there is no signal of active or probable exploitation - exploitation status is 'no public exploit identified at time of analysis,' though note a detailed, runnable proof-of-concept is published in the GHSA advisory itself. The dominant risk gate is configuration: the flaw only matters where autoIndex(true) is enabled on a directory whose file names are influenced by untrusted parties (e.g., an upload directory). One signal worth flagging for verification: the vendor rated AV:L, but in the realistic upload-driven scenario the attacker reaches the directory over the network, so real-world attack vector may be more network-exposed than the local rating implies - verify against your specific deployment. Overall: a real bug worth patching in affected deployments, but not an emergency. |
| Exploit ScenarioDerived | An application runs Armeria's FileService with autoIndex(true) over a directory (such as an uploads folder) where untrusted users can set file names. The attacker creates a file named like '<img src=x onerror=alert(document.domain)>' (or 'javascript:...'); when a victim - e.g. an administrator - opens the directory listing, the unescaped name executes JavaScript in the server's origin (case 1 fires on page load with no click). A full working proof-of-concept is included in the published GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Stored cross-site scripting in Armeria's FileService directory listing (versions 0.80.0 through 1.42.0) allows an attacker who can influence file names in a served directory to run JavaScript in the server's origin when a victim views the listing. Exploitation is narrow: it requires the non-default autoIndex(true) setting, a directory holding attacker-influenced names (for example an uploads folder), a non-Windows host, and a victim who opens the listing - no server-side compromise results. The upstream GitHub advisory documents a working proof-of-concept for both the HTML-injection and javascript:-href variants, but there is no KEV entry and the issue is assessed as a genuinely low-priority, monitor-status item; version 1.43.0 is the vendor fix.
RemediationAI
Upgrade com.linecorp.armeria:armeria to 1.43.0, which is the only complete fix per the upstream advisory GHSA-x9vf-hjgg-cq25 (https://github.com/line/armeria/security/advisories/GHSA-x9vf-hjgg-cq25); the vendor blog entry at https://line.github.io/security-advisory-blog/CVE-2026-121822/ provides additional context. Because the vulnerable rendering only occurs when autoIndex(true) is enabled, sites that cannot upgrade immediately can remove the exposure by turning directory listing off for any directory whose file names are influenced by untrusted users, at the cost of losing the browseable index and requiring an explicit application-level listing or download page instead. Blocking or normalizing file names containing '<', '>', ':', '"' and similar markup characters at upload time also prevents the malicious entries from being created, but it is a data-hygiene measure that does not correct the missing escaping in AutoIndex and does not protect files already on disk. The vendor's position is that updating to 1.43.0 is the complete remedy.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Armeria is a Java asynchronous microservice framework (Maven coordinate com.linecorp.armeria:armeria) built on Netty, and its FileService can optionally render an HTML directory index. In AutoIndex.java (lines 63-66) the anchor's href value is passed through a URL escaper, but the visible link text is appended to the response buffer without HTML escaping, so a file named with markup such as an img tag with an onerror handler is emitted as live HTML and executes when the page loads. A second, independent defect is that the URL-fragment escaper preserves ':', '(' and ')', so a file literally named with a javascript: prefix becomes a javascript: link that executes on click; HTML-escaping the link text alone would not close that path. The advisory classifies this as CWE-79/CWE-80/CWE-83 (improper neutralization of script in HTML and in attributes/URLs), and the bug has existed since auto-indexing was introduced in pull request #1573 in 0.80.0. The flaw is purely client-side rendering of a server-generated page: the CVSS:4.0 vector supplied (AV:L/AC:L/AT:N/PR:L/UI:P, with only subsequent-system confidentiality and integrity Low) and the independently assessed CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) both describe an attacker with some ability to place files who needs a victim to render the listing; nothing server-side is read or altered.
Know when Armeria 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Attacker needs file-name control (PR:L) typically via a network upload (AV:N), victim must view the listing (UI:R), and XSS executes in the victim's browser (S:C, C:L/I:L).
Primary rating from Vendor (LY-Corporation).
CVSS VectorVendor: LY-Corporation
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability has been identified in armeria versions 0.80.0 through 1.42.0, where attackers who control file names can cause stored cross-site scripting (XSS) when directory listing is enabled and a user views the listing.
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.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Man-in-the-middle exposure in LINE's Armeria (armeria-xds module) versions prior to 1.41.0, where TLS peer (certificate)
A vulnerability has been identified in armeria-saml versions less than 1.27.2, allowing the use of malicious SAML messag
Armeria through 1.42.0 permits path-based authorization bypass: its request-path validator rejects '..' segments but nor
Denial of service in Armeria Thrift endpoints and clients before 1.43.0 allows unauthenticated remote attackers to send
Decompression-based denial of service in Armeria SAML (armeria-saml) before 1.43.0 allows unauthenticated remote attacke
SAML bearer assertion replay in armeria-saml before 1.41.1 allows an attacker who has captured a validly signed SAML Res
Armeria is a microservice framework Spring supports Matrix variables. Rated high severity (CVSS 7.5), this vulnerability
Armeria is an open source microservice framework. Rated high severity (CVSS 7.5), this vulnerability is remotely exploit
Versions of Armeria 0.85.0 through and including 0.96.0 are vulnerable to HTTP response splitting, which allows remote a
Symbolic-link following in the armeria-xds module (com.linecorp.armeria:armeria-xds) versions 1.40.0 through 1.42.0 lets
Cross-origin data disclosure in Armeria 0.84.0 through 1.42.0 occurs when a CorsService built with builderForAnyOrigin()
EUVD-2026-117989
NVD
CVE.org
EPSS
GitHub
Exploit-DB