# CVE-2023-28158: Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)

Source: https://junglewise.ai/threats/cve-2023-28158-apache-archiva-vulnerable-to-privilege-escalation-via-stored  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-29  
License: CC BY 4.0 with a link back

CVE-2023-28158 · Severity: low · CVSS 3.1 · Published 2023-03-29

Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)

Technologies: [org.apache.archiva:archiva (Maven)](https://junglewise.ai/threats/technologies/org-apache-archiva-archiva). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-28158 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-28158 being exploited in the wild.

**How severe is CVE-2023-28158?** Low severity, with a CVSS score of 3.1, published 29 March 2023.

**Which products and versions are affected?** org.apache.archiva:archiva (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.2.10.

**Is there a fix for CVE-2023-28158?** Yes. org.apache.archiva:archiva (Maven): upgrade to 2.2.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-28158?** Check whether you run org.apache.archiva:archiva (Maven) 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.

## How to fix

- org.apache.archiva:archiva (Maven): upgrade to 2.2.10 or later

  ```sh
  # set org.apache.archiva:archiva to 2.2.10 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.archiva:archiva (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.2.10

## Identifiers

- CVE-2023-28158
- GHSA-qf34-f43r-gv9p

## Related threats

- [Apache Archiva Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2024-27139-apache-archiva-incorrect-authorization-vulnerability)
- [Apache Archiva Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2024-27138-apache-archiva-incorrect-authorization-vulnerability)
- [Missing Authorization in Apache Archiva](https://junglewise.ai/threats/cve-2022-29405-missing-authorization-in-apache-archiva)
- [Apache Continuum and Archiva vulnerable to Cross-site Scripting](https://junglewise.ai/threats/cve-2011-0533-apache-continuum-and-archiva-vulnerable-to-cross-site-scripting)
- [Apache Archiva does not require entry of the administrator's password at the time of modifying a user account](https://junglewise.ai/threats/cve-2010-4408-apache-archiva-does-not-require-entry-of-the-administrator-s)
