Medium

Apache Archiva vulnerable to Cross-site Scripting

  • Disclosed: 14.05.2022
  • Updated: 11.10.2026 11:20

Cross-site scripting (XSS) vulnerability in Apache Archiva prior to version 2.2.1 allows remote authenticated administrators to inject arbitrary web script or HTML via the connector.sourceRepoId parameter to admin/addProxyConnector_commit.action.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.archiva:archiva < 2.2.1 2.2.1

References

CVSS score 4.8/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.apache.archiva:archiva
Disclosed
14.05.2022
Updated
11.10.2026 11:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-8jfm-rgmg-3wq2 - CC BY 4.0

Vulnerability history: org.apache.archiva:archiva

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
05.2019 03.2024
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 8

Disclosures per year

  1. 2019: 2
  2. 2020: 0
  3. 2021: 0
  4. 2022: 6
  5. 2023: 1
  6. 2024: 2
  7. 2025: 0
  8. 2026: 0
Severity:
  1. High · 7.5 CVE-2024-27138 <= 2.2.10 no fix
  2. High · 7.5 CVE-2024-27139 >= 2.0.0, <= 2.2.10 no fix
  3. High · 8.0 CVE-2017-5657 < 2.2.3 2.2.3
  4. Apache Archiva vulnerable to Cross-site Scripting this entry
    Medium · 4.8 CVE-2016-5005 < 2.2.1 2.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.