CVE-2024-5083
Sonatype Nexus vulnerability analysis and mitigation

Overview

A stored Cross-site Scripting (XSS) vulnerability (CVE-2024-5083) has been discovered in Sonatype Nexus Repository 2, affecting all versions up to and including 2.15.1. The vulnerability was discovered by Michael Stepankin (artsploit) through Sonatype's Bug Bounty Program and was disclosed on November 13, 2024. The issue has been assigned a CVSSv4 score of 5.1 (Medium) (Sonatype Advisory, Security Online).

Technical details

The vulnerability allows an attacker to publish a maven artifact containing an embedded XSS payload. When an administrator views the content of the malicious artifact in their browser window, it can trigger the execution of unwanted actions with the administrator's account privileges. The vulnerability has been assigned CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD).

Impact

If successfully exploited, the vulnerability could allow attackers to execute unwanted actions with administrator account privileges when the malicious artifact's content is viewed. This could potentially lead to unauthorized actions being performed within the system under the context of the administrator's account (Sonatype Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Sonatype Nexus Repository Manager 2.x OSS/Pro version 2.15.2. For deployments that cannot upgrade immediately, Sonatype provides alternative mitigation through Nginx configuration using Content Security Policy headers. Additionally, Sonatype recommends migrating to Nexus Repository 3 as version 2.x is under Extended Maintenance (Sonatype Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management