# CVE-2023-28158: Apache Archiva privilege escalation

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-29 · Modified: 2025-02-13
- Aliases: GHSA-qf34-f43r-gv9p
- Record: https://cvemate.com/vulnerability/CVE-2023-28158 · JSON: https://cvemate.com/vulnerability/CVE-2023-28158/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- EPSS: 1.162%, percentile 68.268%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache archiva: ≥ 2.0, \< 2.2.10
- apache archiva: ≥ 2.0, \< 2.2.10
- org.apache.archiva archiva (Maven): ≥ 2.0.0, \< 2.2.10

## References

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

---

Data as of 2026-12-05T04:11:50.149Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
