{"id":"CVE-2023-28158","aliases":["EUVD-2023-1080","GHSA-qf34-f43r-gv9p"],"status":"published","title":"Apache Archiva privilege escalation","description":"Privilege escalation via stored XSS using the file upload service to upload malicious content.\nThe 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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01162,"percentile":0.6747,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-03-29T12:21:46Z","modified":"2026-10-28T02:30:42Z","fixes":[{"ecosystem":"Maven","package":"org.apache.archiva:archiva","fixed_in":["2.2.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.archiva:archiva","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.10"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.archiva:archiva","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.10"}]}],"versions":["2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.2.1","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9"]}],"products":[{"vendor":"apache","product":"archiva"},{"vendor":"apache software foundation","product":"apache archiva"}],"references":[{"url":"https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt","tags":["vendor-advisory","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/04/18/2","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28158","tags":["advisory"]},{"url":"https://github.com/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4","tags":["web"]},{"url":"https://github.com/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842","tags":["web"]},{"url":"https://github.com/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96","tags":["web"]},{"url":"https://github.com/apache/archiva/releases/tag/archiva-2.2.10","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qf34-f43r-gv9p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28158.json","tags":["advisory"]},{"url":"https://github.com/apache/archiva","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-28158","title":"Apache Archiva privilege escalation","description":"Privilege escalation via stored XSS using the file upload service to upload malicious content.\nThe 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.","status":"published","published":"2023-03-29T12:21:46.932Z","modified":"2025-02-13T16:45:40.751Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:32.376766Z"}],"euvd":[{"id":"EUVD-2023-1080","description":"Privilege escalation via stored XSS using the file upload service to upload malicious content.\nThe 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.","status":"published","published":"2023-03-29T12:21:46Z","modified":"2025-02-13T16:45:40Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T00:03:50.947767Z"}],"ghsa":[{"id":"GHSA-qf34-f43r-gv9p","title":"Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)","description":"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.","status":"published","published":"2023-03-29T15:30:17Z","modified":"2023-04-18T14:50:47Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:51.39133Z"}],"nvd":[{"id":"CVE-2023-28158","description":"Privilege escalation via stored XSS using the file upload service to upload malicious content.\nThe 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.","status":"published","published":"2023-03-29T13:15:08.313Z","modified":"2026-06-17T05:46:59.317Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:51.883939Z"}],"osv":[{"id":"CVE-2023-28158","title":"Apache Archiva privilege escalation","description":"Privilege escalation via stored XSS using the file upload service to upload malicious content.\nThe 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.","status":"published","published":"2023-03-29T12:21:46.932Z","modified":"2026-10-28T02:30:42.46704292Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:31.468318Z"},{"id":"GHSA-qf34-f43r-gv9p","title":"Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)","description":"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.","status":"published","published":"2023-03-29T15:30:17Z","modified":"2023-11-08T04:12:09.535248Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
