CVE-2023-28158 json
Apache Archiva privilege escalation
published 2023-03-29 3 y ago modified 2026-06-17 4 mo ago also GHSA-qf34-f43r-gv9p , EUVD-2023-1080
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.archiva:archiva 2.2.10
- Apache Software Foundation Apache Archiva 2.2.10
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.16% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.archiva:archiva | >=2.0.0, <2.2.10 |
2.2.10 |
Affected products
- Apache Software Foundation Apache Archiva
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4
web
-
github.com
/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842
web
-
github.com
/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96
web
-
lists.apache.org
/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2023/04/18/2
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-28158
advisory
-
github.com
/apache/archiva
package
-
github.com
/apache/archiva/releases/tag/archiva-2.2.10
web
Sources
- CVE List CVE-2023-28158
- GitHub Advisory GHSA-qf34-f43r-gv9p
- NVD CVE-2023-28158
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.