CVE-2026-7308 Nexus Repository 3 - Stored Cross-Site Scripting (XSS) via HTML Browse Page
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.
Other vulnerabilities in Sonatype Nexus Repository Manager
- CVE-2019-7238 Sonatype Nexus Repository Manager Incorrect Access Control
- CVE-2019-9629 Hardcoded credentials in n/a
- CVE-2017-17717 Hardcoded credentials in n/a
- CVE-2026-3199 Nexus Repository 3 - Authenticated Remote Code Execution via Task Property Injection
- CVE-2026-5189 Nexus Repository 3 - Hardcoded Credential in Internal Database Component
Sources
Also known as GHSA-f5g6-q897-4w8f.