CVE-2026-7308 Nexus Repository 3 - Stored Cross-Site Scripting (XSS) via HTML Browse Page

Medium 5.1 Published Updated

Authenticated users can inject JavaScript into repository browse pages, allowing session hijacking or data theft for other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-7308?

CVE-2026-7308 is a medium-severity cross-site scripting vulnerability in Sonatype Nexus Repository Manager, published on 11 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-7308?

It affects 1 product.

Products include Sonatype Nexus Repository Manager.

How do I fix CVE-2026-7308?

No fix has been published for CVE-2026-7308 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-7308 being exploited?

There is no known exploitation of CVE-2026-7308 in the wild and no public exploit code.

All Sonatype Nexus Repository Manager vulnerabilities

Sources

Also known as GHSA-f5g6-q897-4w8f.

Is CVE-2026-7308 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free