{"id":"CVE-2023-28158","aliases":["CVE-2023-28158","GHSA-qf34-f43r-gv9p"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Archiva privilege escalation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-03-29T12:21:46.932Z","modified":"2026-06-17T05:46:59.317Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"maven","introduced":"2.0","fixed":"2.2.10","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Archiva","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.2.10"}],"ecosystem":"Maven","package":"org.apache.archiva:archiva","purl":"pkg:maven/org.apache.archiva/archiva","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0","fixed":"2.2.10"}],"vendor":"apache","product":"archiva","cpe":"cpe:2.3:a:apache:archiva:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/04/18/2","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28158","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/archiva","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/apache/archiva/releases/tag/archiva-2.2.10","tags":["web"],"sources":["ghsa"]}],"credits":["sandr0 (sandr0.xyz)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-23T15:12:27.939Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-28158","url":"https://www.cve.org/CVERecord?id=CVE-2023-28158","licence":"CVE Terms of Use","modified":"2025-02-13T16:45:40.751Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qf34-f43r-gv9p","url":"https://github.com/advisories/GHSA-qf34-f43r-gv9p","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:09.535Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-28158","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28158","licence":"Public domain","modified":"2026-06-17T05:46:59.317Z"}],"updatedAt":"2026-11-25T22:58:22.768Z","epss":{"score":0.0113,"percentile":0.66147,"date":"2026-11-30T12:00:22.000Z"}}