patchminder
No public exploit found CVE-2022-46751

XML external entityin Apache Ivy.

Published 21 Aug 2023 · Updated 13 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 8.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.0% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.2 or later
In plain words

Improper Restriction of XML External Entity Reference, XML Injection (aka Blind XPath Injection) vulnerability in Apache Software Foundation Apache Ivy.This issue affects any version of Apache Ivy prior to 2.5.2. When Apache Ivy prior to 2.5.2 parses XML files · either its own configuration, Ivy files or Apache Maven POMs · it will allow downloading external document type definitions and expand any entity references contained therein when used. This can be used to exfiltrate data, access resources only the machine running Ivy has access to or disturb the execution of Ivy in different ways. Starting with Ivy 2.5.2 DTD processing is disabled by default except when parsing Maven POMs where the default is to allow DTD processing but only to include a DTD snippet shipping with Ivy that is needed to deal with existing Maven POMs that are not valid XML files but are nevertheless accepted by Maven. Access can be be made more lenient via newly introduced system properties where needed. Users of Ivy prior to version 2.5.2 can use Java system properties to restrict processing of external DTDs, see the section about "JAXP Properties for External Access restrictions" inside Oracle's "Java API for XML Processing (JAXP) Security Guide".

What to do now
  • Upgrade org.apache.ivy:ivy (Maven) to 2.5.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Ivy
1.0.0 to 2.5.1
Not confirmed
CVE record
org.apache.ivy:ivy (Maven)
before 2.5.2
2.5.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Dec 2022
    CVE ID reserved by apache.
  2. 21 Aug 2023
    Published in the CVE List.
  3. 13 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Ivy vulnerabilities

Same weakness: XML external entity

All CWE-611 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-46751: XML external entity in Apache Ivy. https://patchminder.com/cve/cve-2022-46751/ (accessed 5 December 2026).