# CVE-2023-28158: Apache Archiva privilege escalation

- Severity: Medium 6.5 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 66% of CVEs (2026-11-30)
- Published: 2023-03-29T12:21:46.932Z
- Modified: 2026-06-17T05:46:59.317Z
- Also known as: GHSA-qf34-f43r-gv9p
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

Privilege escalation via stored XSS using the file upload service to upload malicious content.
The issue can be exploited only by authenticated users which can create directory name to inject some XSS content and gain some privileges such admin user.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Archiva: from 2.0 before 2.2.10
- org.apache.archiva:archiva (Maven): from 2.0.0 before 2.2.10
- apache archiva: from 2.0 before 2.2.10

## Every score

- apache: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/04/18/2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28158> (advisory)
- <https://github.com/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4> (web)
- <https://github.com/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842> (web)
- <https://github.com/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96> (web)
- <https://github.com/apache/archiva> (package)
- <https://github.com/apache/archiva/releases/tag/archiva-2.2.10> (web)

## Sources

- CVE List: [CVE-2023-28158](https://www.cve.org/CVERecord?id=CVE-2023-28158), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-qf34-f43r-gv9p](https://github.com/advisories/GHSA-qf34-f43r-gv9p), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-28158](https://nvd.nist.gov/vuln/detail/CVE-2023-28158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28158 · Whole record: https://cve.day/CVE-2023-28158.json · Rebuilt by cve.day 2026-11-25T22:58:22.768Z
