Insecure file upload in Apache Archiva

Published: 2023-03-30
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-28158
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Archiva
Other software / Other software solutions

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Arbitrary file upload

EUVDB-ID: #VU74218

Risk: Low


CVE-ID: CVE-2023-28158

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: No


The vulnerability allows a remote user to perform XSS attacks.

The vulnerability exists due to insufficient validation of file during file upload. A remote user can upload a malicious file and execute arbitrary HTML or JavaScript code in victim's browser once the uploaded file is viewed.


Install update from vendor's website.

Vulnerable software versions

Apache Archiva: 1.0 - 2.2.9

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?