Date: March 02, 2022
Affected Versions:
Nexus Repository 3 versions up to and including 3.37.3
Fixed in Version:
Nexus Repository 3 version 3.38.0 and later
Risk:
Medium - 6.5 - (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)
Summary:
We have discovered an HTML injection vulnerability in Nexus Repository 3.
Sonatype Nexus Repository 3.x through 3.37.3 is vulnerable to an HTML injection. By sending a specially crafted URL request, a remote attacker may alter the displayed HTML view. This advisory provides the pertinent information needed to properly address this vulnerability along with details on how to reach us if you have any further questions or concerns.
We are highly recommending that you upgrade all instances of Nexus Repository 3 to version 3.38.0 or later. You can download the latest Nexus Repository 3 version from the following location:
For detailed information on upgrading, please see the following:
Upgrading Nexus Repository 3.1.0 and Newer
Support:
If you run into any problems or have any questions/concerns, please contact us by filing a ticket at https://support.sonatype.com.
Credit:
Sonatype thanks Michael Bain and the ATT Security Team for finding and reporting this issue.
Frequently Asked Questions:
Q: What is the risk associated with this vulnerability?
A: An attacker may send a specially crafted URL to a victim that will result in HTML injection.
Q: What preconditions must be met in order to be vulnerable?
A: An attacker must convince a victim to open a specially crafted URL.
Q: Are there implications associated with this advisory itself?
A: Disclosure unfortunately means bad actors may try to take advantage. While we have initially limited the information to the minimum details necessary for users to affect an appropriate fix, this merely slows down a would-be attacker. As such, we are advising all organizations utilizing Nexus Repository to immediately assess their individual impact and take appropriate action in response.
Q: Where can I obtain more information associated with the vulnerability?
A: At this time, and in the interest of best protecting our user community, we are limiting the information released to that absolutely required in order to assess the impact and affect remediation. Please contact support for more information.
Q: Why is Sonatype making this information available?
A: This is part of a responsible disclosure process. We are taking a concerted and proactive approach in our outreach activities and an effort to achieve the most rapid remediation possible.