XML External Entity (XXE) Injection Affecting resteasy-base package, versions <0:3.0.6-4.amzn2.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.62% (49th 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-AMZN2-RESTEASYBASE-20244331
  • published29 Sept 2026
  • disclosed31 Aug 2026

Introduced: 31 Aug 2026

CVE-2026-17615  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 resteasy-base to version 0:3.0.6-4.amzn2.0.2 or higher.
This issue was patched in ALAS2-2026-3936.

NVD Description

Note: Versions mentioned in the description apply only to the upstream resteasy-base package and not the resteasy-base package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.

CVSS Base Scores

version 3.1