Rama Has Stored XSS
Affects ramaSource GCVE Database
CVSS 3.7 Low : upgrade to 0.3.0-rc.1 when convenient.
Data as of 8 Jul 2026, 13:40 UTC
- Patch
- Available – fixed in 0.3.0-rc.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:NWhat to do
Upgrade rama to 0.3.0-rc.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iorama | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The suggested fix is to escape all untrusted values before inserting them into the generated HTML, including HTML-escaping file and directory names used as link text, attribute-escaping values used inside href attributes, and escaping URI path components used in breadcrumbs, page titles, and headings. If you cannot patch yet, avoid enabling ServeDir with DirectoryServeMode::HtmlFileList on directories where untrusted users can create or influence file or directory names.
Description
The plabayo/rama project contains a stored/reflected cross-site scripting (XSS) vulnerability in the ServeDir HTML directory listing feature when configured with DirectoryServeMode::HtmlFileList. File names and URI path components are inserted into the generated HTML without proper escaping, allowing an attacker who can control or influence file or directory names to inject malicious HTML or JavaScript. This can lead to script execution in the browsers of users viewing the directory listing. The vulnerability affects version 0.3.0-rc.1 of rama. A fix involves properly escaping all untrusted values before embedding them in HTML. The severity is assessed as medium due to the requirement for attacker control over file names and user interaction.