CVE-2023-28158
MEDIUM 5.4CVSS 3.1Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)
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.
- Published
- 29 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-qf34-f43r-gv9p
- Sources
- NVDJSONOSV GHSA-qf34-f43r-gv9pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@apache.org (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | archivacpe:2.3:a:apache:archiva:*:*:*:*:*:*:*:* |
>= 2.0, < 2.2.10 | 2.2.10 |
| OSV | Maven | org.apache.archiva:archiva | >= 2.0.0, < 2.2.10 | 2.2.10 |
References
- http://www.openwall.com/lists/oss-security/2023/04/18/2 · WEB
- https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt · Mailing List, Vendor Advisory, 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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 29 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Mar 2023)