{"id":"CVE-2019-0213","aliases":["CVE-2019-0213","GHSA-cqcf-4g4h-rghf"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting in Apache Archiva","summary":"In Apache Archiva before 2.2.4, it may be possible to store malicious XSS code into central configuration entries, i.e. the logo URL. The vulnerability is considered as minor risk, as only users with admin role can change the configuration, or the communication between the browser and the Archiva server must be compromised.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Apache Archiva before 2.2.4, it may be possible to store malicious XSS code into central configuration entries, i.e. the logo URL. The vulnerability is considered as minor risk, as only users with admin role can change the configuration, or the communication between the browser and the Archiva server must be compromised.","source":"cvelist"},{"lang":"en","text":"In Apache Archiva before 2.2.4, it is possible to write files to the archiva server at arbitrary locations by using the artifact upload mechanism. Existing files can be overwritten, if the archiva run user has appropriate permission on the filesystem for the target file.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Apache Archiva anterior a versión 2.2.4, puede ser posible almacenar código XSS malicioso en entradas de configuración central, es decir, la URL logo. La vulnerabilidad es considerada un riesgo menor, ya que solo los usuarios con rol de administrador pueden cambiar la configuración, o la comunicación entre el navegador y el servidor Archiva debe verse comprometida.","source":"nvd"}],"published":"2019-04-30T21:35:47.000Z","modified":"2026-06-17T02:07:59.353Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"All versions prior to version 2.2.4","status":"affected"}],"vendor":"Apache","product":"Apache Archiva","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2.4"}],"ecosystem":"Maven","package":"org.apache.archiva:archiva","purl":"pkg:maven/org.apache.archiva/archiva","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.2.4"}],"vendor":"apache","product":"archiva","cpe":"cpe:2.3:a:apache:archiva:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://seclists.org/bugtraq/2019/Apr/47","tags":["mailing-list","third-party-advisory","web","x-refsource-bugtraq","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/c358754a35473a61477f9d487870581a0dd7054ff95974628fa09f97%40%3Cusers.maven.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/0397ddbd17b5257cc1746b31a07294a87221c5ca24e5d19d390e28f3%40%3Cusers.archiva.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2019/04/30/7","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://packetstormsecurity.com/files/152681/Apache-Archiva-2.2.3-Cross-Site-Scripting.html","tags":["third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://archiva.apache.org/security.html#CVE-2019-0213","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/ada0052409d8a4a8c4eb2c7fd6b9cd9423bc753d5fce87eb826662fb%40%3Cissues.archiva.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securityfocus.com/bid/108123","tags":["third-party-advisory","vdb-entry","web","x-refsource-bid","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/7bcea134c3d6fa72cdc1052922ac0914f399f63f4690b7937b80127d%40%3Cannounce.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-0213","tags":["advisory"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/0397ddbd17b5257cc1746b31a07294a87221c5ca24e5d19d390e28f3@%3Cusers.archiva.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/7bcea134c3d6fa72cdc1052922ac0914f399f63f4690b7937b80127d@%3Cannounce.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/ada0052409d8a4a8c4eb2c7fd6b9cd9423bc753d5fce87eb826662fb@%3Cissues.archiva.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/c358754a35473a61477f9d487870581a0dd7054ff95974628fa09f97@%3Cusers.maven.apache.org%3E","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-0213","url":"https://www.cve.org/CVERecord?id=CVE-2019-0213","licence":"CVE Terms of Use","modified":"2024-08-04T17:44:14.810Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cqcf-4g4h-rghf","url":"https://github.com/advisories/GHSA-cqcf-4g4h-rghf","licence":"CC-BY-4.0","modified":"2023-11-08T04:00:31.540Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-0213","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-0213","licence":"Public domain","modified":"2026-06-17T02:07:59.353Z"}],"updatedAt":"2026-11-25T22:57:44.667Z","epss":{"score":0.04843,"percentile":0.92202,"date":"2026-12-01T12:00:22.000Z"}}