Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged deploy token or proxied mirror foothold
-
DeliveryPlant existing directory at crafted path
-
ExploitPhish manager into opening listing link
-
Executionautofocus/onfocus XSS fires in Admin UI origin
-
PersistRead manager token from local storage
-
ImpactReuse token for full instance compromise
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 | Requires an affected Reposilite instance running 3.5.16 through 3.5.x (the unescaped directory-index page was introduced in 3.5.16 and the response, unlike artifact/javadoc responses, does NOT set the Content-Security-Policy: sandbox header from the CVE-2024-36115 fix). To exploit: (1) the attacker must create an EXISTING directory at a crafted path, either with a write/deploy token (low privilege) or, without a token, via an unauthenticated cached fetch against a store=true repository that proxies an attacker-influenceable upstream; and (2) a logged-in victim - ideally holding a manager token in browser local storage ('token-secret') - must open the crafted directory-listing link (required user interaction). Key LIMITING factors: the directory index renders only for a path that actually exists; ctx.uri() is percent-encoded so tag injection is blocked, leaving only the single-quote href-break primitive; and the advisory states Location.of strips single quotes, leaving the described quote-based trigger's reachability unresolved. Token theft matters only because tokens are stored in plaintext local storage. |
| Impact | This is a medium-severity reflected XSS (CVSS 5.7, CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N, CWE-79) whose real-world priority is moderate rather than urgent. Positive-pressure signals are limited: there is no CISA KEV listing, no EPSS score was supplied, and the vuln.today decision label is 'this_month' (not act_now/emergency), indicating scheduled remediation rather than immediate firefighting. Negative-pressure signals that raise concern: the network vector (AV:N), the high confidentiality/integrity impact (token theft that can escalate a scoped deploy token to full instance compromise against a manager token), and the presence of detailed reproduction steps in the GHSA advisory. Several signals conflict and should be stated plainly: (1) the provided CVSS vector sets PR:H, but the advisory describes exploitation with a LOW-privileged write/deploy token, or even unauthenticated via a cached fetch on a store=true proxying repository - so PR:H likely overstates the required privilege and the real barrier is lower than the score implies. (2) AC:H is justified not by score inflation but by a genuine, advisory-stated uncertainty: ctx.uri() is percent-encoded (blocking tag injection) and Location.of strips single quotes, so the advisory itself leaves 'the reachability of the described quote-based trigger unresolved' - meaning the quote-break primitive may not be reliably triggerable as described. (3) Exploitation also requires social engineering (UI:R - phishing a manager into opening a crafted link). Net: a credible privilege-escalation XSS worth patching promptly, but not a mass-exploitation emergency; the unresolved reachability question is the single most important factor a defender should verify with the vendor. |
| Exploit ScenarioDerived | An attacker holding a low-privileged CI/deploy token plants an existing directory at a crafted path (e.g. .../autofocus/onfocus=...), then phishes a Reposilite manager into opening a directory-listing link; because the listing page reflects the request URI into an unescaped single-quoted href and sets no CSP sandbox, an autofocus/onfocus handler executes in the Admin UI origin and reads the manager's token from local storage. The GHSA advisory includes step-by-step reproduction commands (a curl upload plus a crafted URL), so a public PoC reference exists, though the advisory notes the single-quote trigger's reachability is unresolved because Location.of strips single quotes. The high attack complexity reflects both this reachability uncertainty and the required victim interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Reflected cross-site scripting in the Reposilite Maven directory-index page affects releases 3.5.16 through 3.5.x: the generated listing interpolates the request URI into the page title, heading, <base> href and single-quoted Parent-Directory link without HTML escaping. An attacker who can plant an existing directory at a crafted path (using a low-privileged write/deploy token, or without a token via an unauthenticated cached fetch on a store=true repository proxying an attacker-influenceable upstream) can lure a logged-in user into opening a crafted link; the injected script runs in the same origin as the Admin UI and can read the plaintext 'token-secret' from local storage, which against a manager token means full instance compromise. Severity is moderate rather than urgent: ctx.uri() is percent-encoded so tag injection is blocked, only a single-quote href-break primitive survives, the affected directory must already exist, and the advisory itself notes that Location.of strips single quotes, leaving the reachability of the described trigger unresolved. No CISA KEV entry or independently confirmed working exploit code was identified in the available sources, although the vendor advisory does publish reproduction steps.
RemediationAI
Upgrade Reposilite to 3.6.0, the vendor-listed fixed version (https://github.com/dzikoysk/reposilite/releases/tag/3.6.0), noting the breaking changes in that release (Java 17 minimum, Javalin 7 plugin HTTP stack, Credentials.host renamed to Credentials.ip). The advisory's own remediation guidance, useful if an immediate upgrade is not possible, is to serve the directory-index response with Content-Security-Policy: sandbox, the same header already applied to artifact and Javadoc content under CVE-2024-36115, which removes the same-origin access that makes token theft possible; to HTML-escape every value createDirectoryIndexPage interpolates, including the request URI and file names; and to reconsider storing the token in plaintext local storage, since that design choice converts any same-origin XSS into account takeover, preferring session tokens instead. Because the attack requires an existing attacker-planted directory, limiting who holds write/deploy tokens and avoiding store=true repositories that proxy untrusted upstreams reduce exposure, though the advisory does not present these as substitutes for patching.
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
Reposilite is a lightweight Maven artifact repository manager for the JVM ecosystem. The flaw is CWE-79 (reflected XSS; the advisory also tags CWE-83 and CWE-116) in the server-side directory-index rendering path (createDirectoryIndexPage), which was introduced in 3.5.16 and builds HTML by interpolating the raw request URI into <title>, <h1>, and the single-quoted href attributes of the <base> element and the Parent Directory anchor. Two properties constrain exploitation: the content-embedded ctx.uri() value is percent-encoded, so direct tag injection is blocked, but a single quote character passes through and terminates the quoted href, allowing attributes such as autofocus and an onfocus JavaScript handler to be attached; and the directory index only renders when the requested path resolves to a directory that actually exists. The path is plantable because Location.of strips < > " ' : but preserves '/', '=' and letters. Critically, unlike artifact and Javadoc responses, which were hardened with Content-Security-Policy: sandbox under CVE-2024-36115, the directory-index response sets no CSP, so injected script shares the Admin UI origin and can read the token ('token-secret') that the application persists in browser local storage. The advisory also notes that Location.of stripping single quotes leaves the quote-based trigger's reachability unresolved, so the practical exploitability depends on that unresolved parsing detail.
Know when the next one hits your stack
- 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:H/PR:H/UI:R/S:U/C:H/I:H/A:N
Advisory's reliable path needs a low-privileged deploy token (PR:L); AC:H because reachability is unresolved (single quotes stripped by Location.of) and victim must be a privileged manager; UI:R for the phished link; token theft yields C:H/I:H, A:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Reposilite is lightweight and easy-to-use repository management software dedicated to Maven-based artifacts in the JVM ecosystem. From 3.5.16 until 3.6.0, as stated by the advisory, the Maven directory-index page interpolates the request URI without HTML escaping in its title, heading, base URL, and parent-directory link. The advisory says the content-embedded ctx.uri() is percent-encoded, preventing tag injection, but that a single quote passes through and breaks the quoted Parent-Directory link; it also says Location.of strips single quotes, so the reachability of the described quote-based trigger remains unresolved. The listing shares the Admin UI origin and does not set the sandbox Content-Security-Policy used for artifact and Javadoc responses, so the reported script execution could access a user's local-storage token. A manager token could enable full instance compromise. The advisory reports version 3.6.0 as fixed.
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.
EUVD-2026-130726
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB