CVE-2026-7308: An authenticated user with upload permission to a hosted repository can store content that causes arbitrary JavaScript…

CVE-2026-7308 · Severity: medium · CVSS 5.4 · Published 2026-05-11

Sonatype Nexus Repository is a software component manager used by developers to store and distribute code packages. A security vulnerability allows an authorized user with upload permissions to plant malicious scripts within a repository. If another user views that repository's directory through their web browser, the script could execute, potentially allowing the attacker to hijack the victim's session or perform unauthorized actions.

Technologies: Sonatype Nexus Repository, Sonatype Nexus Repository Manager. Vendors: Sonatype.

Quick answers

Is CVE-2026-7308 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7308 being exploited in the wild.
How severe is CVE-2026-7308?
Medium severity, with a CVSS score of 5.4, published 11 May 2026.
Which products and versions are affected?
Sonatype Nexus Repository 3.6.0 to 3.91.1.
Is there a fix for CVE-2026-7308?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-7308 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-7308?
Check whether you run Sonatype Nexus Repository or Sonatype Nexus Repository Manager at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored Cross-Site Scripting (XSS) vulnerability (CWE-79) exists in Sonatype Nexus Repository versions 3.6.0 through 3.91.1. An authenticated attacker with 'upload' permissions to a hosted repository can store malicious content that triggers arbitrary JavaScript execution when a victim browses the repository directory via the HTML index page. The attack requires minimal user interaction (viewing the directory) and allows the attacker to execute actions in the context of the victim's browser session. The issue is resolved in version 3.92.0.

Affected products

  • Sonatype Nexus Repository 3.6.0 to 3.91.1

Timeline

  • 2026-05-11: disclosed
  • 2026-05-11: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.