---
id: "CVE-2026-121822"
page: "https://infrastack.ai/live/CVE-2026-121822"
kind: "vulnerability"
aliases: ["CVE-2026-121822"]
title: "Armeria: file names can inject stored XSS in directory listings"
severity: "low"
cvss: 2.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["armeria", "file-serving", "java", "package"]
not_affected_if: ["directory-listing-disabled", "trusted-file-names"]
published_at: "2026-11-06T08:17:20+00:00"
first_seen_at: "2026-11-06T08:40:33+00:00"
updated_at: "2026-11-06T08:42:42+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121822", "first_seen_at": "2026-11-06T08:40:33+00:00"}]
exploit_sources: []
---

# Armeria: file names can inject stored XSS in directory listings

Link for people: https://infrastack.ai/live/CVE-2026-121822 (this .md is for agents)

Armeria versions 0.80.0 through 1.42.0 fail to escape file names in directory listings. An attacker who controls a file name can run script in the browser of anyone who views the listing.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the armeria version in the project's build file (for example `armeria` in `build.gradle` or `pom.xml`) against the range 0.80.0 through 1.42.0
- Check whether directory listing is enabled in the Armeria file service configuration

## Fix

- Move to an armeria version later than `1.42.0`; the exact fixed version is unknown

## Timeline

- 2026-11-06T08:40:33+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-121822

## Documents

- [advisory] Vendor advisory: github.com https://github.com/line/armeria/security/advisories/GHSA-x9vf-hjgg-cq25

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
