Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)
Apache Archiva is vulnerable to privilege escalation vua stored cross-site-scripting 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 as an admin user.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.archiva:archiva | >= 2.0.0, < 2.2.10 | 2.2.10 |
References
- 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
- https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt
- http://www.openwall.com/lists/oss-security/2023/04/18/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.apache.archiva:archiva- Disclosed
- 29.03.2023
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qf34-f43r-gv9p - CC BY 4.0
Vulnerability history: org.apache.archiva:archiva
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 05.2019 03.2024
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 8
Disclosures per year
- 2019: 2
- 2020: 0
- 2021: 0
- 2022: 6
- 2023: 1
- 2024: 2
- 2025: 0
- 2026: 0
-
Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS) this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.