CVE-2024-34580: Apache XML Security · Server-Side Request Forgery (SSRF)
Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 26 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Avoid direct use of Apache XML Security for C++ where possible, especially in security-critical applications.
- If use is necessary, ensure strict configuration to disable or tightly control processing of KeyInfo elements and any external resource fetching.
- Implement network-level controls such as egress filtering and internal firewall rules to restrict outbound requests from applications using this library.
- Employ input validation and XML schema validation to detect and reject malicious XML signatures containing SSRF payloads.
- Conduct thorough code reviews and security testing focusing on XML signature processing logic.
- Consider using alternative, better-maintained libraries with secure defaults for XML signature processing.
- Monitor application logs for unusual outbound network requests that could indicate SSRF exploitation attempts.
- Keep abreast of updates from the Apache project for any future patches or guidance.
Description
Apache XML Security for C++ through 2.0.4 implements the XML Signature Syntax and Processing (XMLDsig) specification without protection against an SSRF payload in a KeyInfo element. NOTE: the project disputes this CVE Record on the grounds that any vulnerabilities are the result of a failure to configure XML Security for C++ securely. Even when avoiding this particular issue, any use of this library would need considerable additional code and a deep understanding of the standards and protocols involved to arrive at a secure implementation for any particular use case. We recommend against continued direct use of this library.
References
- santuario.apache.org/download.html (opens in a new tab)
- cloud.google.com/blog/topics/threat-intelligence/apache-library-allows-server-side-request-forgery (opens in a new tab)
- sonatype.com/blog/the-exploited-ivanti-connect-ssrf-vulnerability-stems-from-xmltooling-oss-library (opens in a new tab)
- github.com/zmanion/Vulnerabilities/blob/main/CVE-2024-21893.md (opens in a new tab)
- lists.apache.org/thread/po2gocnw4gtf4boy5mmjb54g62qhbrl9 (opens in a new tab)
- shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario (opens in a new tab)