Permissive Cross-domain Policy with Untrusted Domains Affecting org.apache.camel:camel-jetty-common package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-21429386
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85313  (opens in a new tab)
CWE-942  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-jetty-common to version 4.18.5, 4.22.1 or higher.

Overview

org.apache.camel:camel-jetty-common is a versatile open-source integration framework based on known Enterprise Integration Patterns.

Affected versions of this package are vulnerable to Permissive Cross-domain Policy with Untrusted Domains via the enableCORS configuration in the Jetty component. An attacker can read endpoint responses by getting a user’s browser to send credentialed cross-origin requests after the endpoint enables CORS; Jetty’s default filter reflects any requesting origin and allows credentials. This exposes response data to an attacker whose page the user visits.

Workarounds

  • Configure the Jetty CrossOriginFilter parameters explicitly and set filterInit.allowedOrigins to the trusted origins, rather than relying on the defaults installed by enableCORS; this prevents arbitrary origins from making credentialed cross-origin requests and reading endpoint responses.

CVSS Base Scores

version 4.0
version 3.1