Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain account with repo edit permission
-
DeliveryPush OCI manifest with script in artifact type field
-
ExploitVictim opens Attestations tab in Browse UI
-
ExecutionScript executes in victim browser session
-
ImpactAct with viewing user's Nexus privileges
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 an attacker-controlled account that holds the edit permission on a hosted OCI repository - i.e., an account authorized to push manifests - which is an authenticated, privileged precondition (PR:L), not default anonymous access. The malicious payload must be placed specifically in the artifact type field of an OCI manifest. Triggering requires a second, distinct user to open the Attestations tab for the related image in the Browse user interface (UI:P / passive interaction); the script then executes only in that viewer's browser with that viewer's permissions. Limiting factors: the need for push/edit credentials, the need for a victim to navigate to the specific Attestations view, and the fact that the impact is confined to the viewing user's browser session rather than the Nexus server itself. Severity escalates if the viewing user is an administrator. The upgrade to 3.98.0 is the vendor-provided fix. |
| Impact | This is a stored cross-site scripting flaw (CWE-79) in Sonatype Nexus Repository 3 rated 6.3 (Medium) under CVSS 4.0. The supplied vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N) tells a coherent story: the vector is network-reachable with low attack complexity, but it requires an authenticated attacker holding the edit permission on a hosted OCI repository (PR:L) and requires a victim to take a passive action - opening the Attestations tab for the image (UI:P). The vulnerable system itself suffers no direct impact (VC/VI/VA all N); the entire impact falls on the subsequent system - the victim's browser session (SC:H/SI:H), where the injected script runs with the permissions of the viewing user. No EPSS score, KEV listing, or POC/exploit reference is present in the input, so this is not confirmed as actively exploited; a vendor patch is available and vuln.today assigns a 'this_month' priority, which is consistent with a Medium-severity authenticated XSS rather than an emergency. Net assessment: a genuine but second-tier priority - real-world risk is gated by the attacker first needing push/edit credentials on a hosted OCI repo and by a privileged user then viewing the malicious attestation, so it is best treated as an insider-or-compromised-account-plus-social-engineering issue rather than a widely sprayable remote exploit. The key missing signals are EPSS and any exploitation evidence; absence of these is noted, not treated as either confirmation or exoneration. |
| Exploit ScenarioDerived | An attacker who already holds an account with edit permission on a hosted OCI repository pushes an OCI manifest whose artifact type field contains malicious JavaScript instead of a normal media type. When a legitimate user - potentially an administrator - later opens the Attestations tab for that image in the Nexus Browse UI, the script executes in their browser with their session privileges. No public exploit code is identified in the provided data, so exploitation would currently require an attacker to craft the manifest manually. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Stored cross-site scripting in Sonatype Nexus Repository 3 allows an authenticated account with edit permission on a hosted OCI repository to place script content in the artifact type field of an OCI manifest. The payload executes when another user opens the Attestations tab for the related image in the Browse UI, running in that viewer's browser with the viewer's permissions; an administrator as the viewer would increase the impact. The vendor fixed the issue in 3.98.0, and no public exploit identified at time of analysis.
RemediationAI
Upgrade to Sonatype Nexus Repository 3.98.0, the vendor-released fix referenced in the release notes (https://help.sonatype.com/en/sonatype-nexus-repository-3-98-0-release-notes.html); the Sonatype advisory is at https://support.sonatype.com/hc/en-us/articles/56597339691027/. Until the upgrade is applied, limit edit/push-manifest permission on hosted OCI repositories to trusted accounts, since that permission is the assessed precondition, and review existing OCI manifests for unexpected artifact type values; restricting publishing will affect legitimate users who rely on those repositories. Also restrict who can open the Browse UI's Attestations tab, especially administrator accounts, because the stored script runs with the viewing user's permissions and an administrator viewer raises impact; this reduces exposure but does not remove the stored payload. No public exploit identified at time of analysis.
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
Nexus Repository 3 supports hosted OCI repositories, where authorized users push OCI manifests; the manifest's artifact type field is stored and later rendered in the Browse UI's Attestations tab. CWE-79 identifies the root cause as cross-site scripting: script content supplied in that field is rendered in the Attestations view in a way that allows it to execute in the viewer's browser under the viewer's session permissions. The affected CPE is cpe:2.3:a:sonatype:nexus_repository_3:*:*:*:*:*:*:*:* (all Nexus Repository 3 versions), and the vendor identifies 3.98.0 as the fixed release. CVSS 4.0 rates this 6.3 Medium; the independent CVSS 3.1 assessment is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting network reach, authenticated push/edit access, required victim interaction, changed scope, and low confidentiality/integrity impact without availability impact. Exploitation requires edit permission on a hosted OCI repository and a victim opening the specific Attestations view; the impact is confined to the viewer's browser rather than the Nexus server.
Know when Nexus Repository 3 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:H/SI:H/SA:N
Authenticated pusher (PR:L) and required victim interaction (UI:R) deliver stored XSS that executes in a different security context (S:C), yielding limited confidentiality/integrity impact on the viewer's session.
Primary rating from Vendor (Sonatype).
CVSS VectorVendor: Sonatype
DescriptionCVE.org
Sonatype Nexus Repository 3 allows a user account that can push manifests to a hosted OCI repository (a user account that holds the edit permission on that repository) to store script content in the artifact type field of an OCI manifest. The script runs in the browser of a user who opens the Attestations tab for the related image in the Browse user interface, with the permissions of the viewing user.
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 3
View allIncorrect authorization in the Nexus Repository 3 CE/Pro repository-creation UI allows an authenticated user with a form
Sonatype Nexus Repository 3 Pro can reinstate a disabled or locked local account when that account authenticates through
Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated low-privileged user - who holds the 'update
An authenticated user holding the nx-licensing-create privilege can upload a crafted license file to Sonatype Nexus Repo
Remote code execution in Sonatype Nexus Repository 3 is achievable by any user holding the nx-datastores-update permissi
Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated user who holds the 'role create' or 'role up
Insufficient session expiration in Sonatype Nexus Repository 3 allows a previously-authenticated user to retain full rep
Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated user who already holds the capability create
Authentication bypass in Sonatype Nexus Repository 3 allows an authenticated user who holds only the nexus:capabilities:
Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated user holding privilege-management rights to
Content-address verification bypass in Sonatype Nexus Repository 3 allows an unauthenticated remote attacker to have con
Authorization bypass in Sonatype Nexus Repository 3's component upload API lets an account holding only read/browse priv
EUVD-2026-117062
GHSA-cjj9-qvgx-24vv
NVD
CVE.org
EPSS
Exploit-DB