{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-28158","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.","descriptionLong":"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.","published":"2023-03-29T12:21:46.932Z","updated":"2026-10-28T02:30:42.467042920Z","reserved":"2023-03-13T02:37:38.879Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"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","rating":"medium","source":"apache"},"metrics":[{"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","rating":"medium","source":"apache"},{"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","rating":"medium","source":"apache.org"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache Archiva"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Archiva","defaultStatus":"unaffected","versions":[{"lessThan":"2.2.10","status":"affected","version":"2.0","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.archiva:archiva","purl":"pkg:maven/org.apache.archiva/archiva","ranges":[">=2.0.0 <2.2.10"],"fixed":["2.2.10"],"advisory":"GHSA-qf34-f43r-gv9p"}],"cwes":["CWE-79"],"aliases":["GHSA-qf34-f43r-gv9p"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28158.json","tags":["advisory"]},{"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","tags":["package"]},{"url":"https://github.com/apache/archiva/releases/tag/archiva-2.2.10","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01162,"epssPercentile":0.67881,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-28158","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28158","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-28158","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qf34-f43r-gv9p","ok":true,"note":"GHSA-qf34-f43r-gv9p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-28158","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}