Skip to main content

Apache Cocoon CVE-2026-108086

| EUVDEUVD-2026-104911 MEDIUM
Improper Restriction of Recursive Entity References in DTDs (CWE-776)
2026-10-20 apache GHSA-r2j3-wmm2-x45c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach fp: form processor endpoint
  2. Delivery
    Submit crafted XML with external DTD entities
  3. Exploit
    Trigger entity expansion during parse
  4. Execution
    Server fetches internal/file resources (SSRF)
  5. Impact
    Exfiltrate server files to external system

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML entity recursion limits
Exploitation Conditions

Exploitation requires that the target run Apache Cocoon with the fp: form processor feature in use and that an attacker can submit XML input to it; the parser must accept external/recursive DTD entity references (default XML parsing behavior absent explicit entity-expansion hardening). The product being retired means no patched version exists - the only limiting factors are deployment-level: whether the Cocoon instance and its form-processing endpoints are network-reachable and whether access has been restricted to trusted users (the vendor's recommended mitigation). Realistic risk is bounded primarily by the rarity of live Cocoon deployments rather than by authentication or configuration barriers.

Impact

Risk signals are largely absent from the input and must be reasoned from the description rather than confirmed data. No CVSS score or vector was provided (both N/A), no EPSS probability is available, there is no CISA KEV listing, and no public POC is referenced - so exploitation status is 'no public exploit identified at time of analysis.' The sole reference is the Apache advisory mailing-list thread. The vulnerability itself is technically serious: an XML entity expansion (XEE) flaw in the fp: form processor that can be driven to SSRF and server-side file exposure to an untrusted external system, which on paper implies a network-reachable, likely unauthenticated attack with a scope change (file disclosure crossing a trust boundary). However, the dominant mitigating factor is that Apache Cocoon is explicitly RETIRED and UNSUPPORTED - the advisory states all versions are affected and NO fix will ever be released, with the vendor recommending migration or access restriction. This combination (high technical impact but a dead, low-footprint product with no exploitation evidence) makes it a targeted/legacy-exposure concern rather than a broad, high-urgency priority. CRITICAL CAVEAT: there is no input CVSS vector, so attack vector, complexity, and privilege requirements are INFERRED from the description only and should be verified against the Apache advisory before operational prioritization.

Exploit ScenarioDerived

An attacker submits a crafted XML document to a Cocoon fp: (form processor) endpoint containing recursive/external DTD entity references. During parsing, the entity expansion forces the server to fetch and return internal resources, enabling SSRF and disclosure of local server files to the attacker-controlled external system. No public exploit code is referenced, and the attack appears network-reachable without special credentials based on the description, though this is not confirmed by a CVSS vector.

This Month Plan within 30 days. Why: Vendor states no customer action required.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 20, 2026

XML external entity expansion in Apache Cocoon's fp: form processor lets unauthenticated remote attackers submit crafted XML that triggers server-side request forgery and can expose server files to an external system. All Cocoon versions are affected, and because the project is retired the vendor has stated it will not release a fix; exploitation requires a reachable form-processing endpoint that parses attacker-supplied XML. No public exploit identified at time of analysis, and the independent assessment rates confidentiality impact High with scope changed (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).

RemediationAI

No vendor-released patch will be provided: Apache Cocoon is retired and the advisory (https://lists.apache.org/thread/mt0h1cpjzps76nq6op7714rmnq6pbtht) recommends migrating to an alternative product or restricting instance access to trusted users. If migration is not immediate, disable or remove the fp: form processor from exposed Cocoon applications, and harden the XML parser to reject DTDs and external entities (for example, set disallow-doctype-decl and disable external-general-entities/external-parameter-entities); trade-off: legitimate XML documents that rely on DTDs will fail to parse. Restrict network egress from the Cocoon host to limit SSRF reachability and file exfiltration, and place authentication or network ACLs in front of form-processing endpoints - trade-off: egress filtering may break intended integrations and ACLs add operational overhead. A WAF rule blocking DOCTYPE declarations in XML request bodies can provide interim coverage but is bypassable and not a substitute for removing the vulnerable component.

Affected VersionsENISA

Apache Cocoon 0 ≤*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Cocoon is a Java-based XML/XSLT web publishing framework; the fp: form processor handles XML form definitions and can resolve DTD entities. CWE-776 (Improper Restriction of Recursive Entity References in DTDs, 'XML Entity Expansion') describes the root cause: the XML parser does not sufficiently limit entity definitions or external entity resolution. When attacker-controlled XML is parsed, an external entity can cause the server to make outbound requests (SSRF) and include local file content in the resolved document, which may then be returned or forwarded to an untrusted external system. The CPE cpe:2.3:a:apache_software_foundation:apache_cocoon:*:*:*:*:*:*:*:* confirms the scope is all versions of Apache Cocoon; the project is retired and unsupported.

Know when Apache Cocoon gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY MEDIUM
vuln.today AI 8.6 HIGH

Network-reachable form processor parsing attacker XML with no auth implied (AV:N/AC:L/PR:N/UI:N); SSRF/file disclosure crosses a trust boundary (S:C) with confidentiality impact only (C:H, I:N, A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (apache).

DescriptionCVE.org

UNSUPPORTED WHEN ASSIGNED Improper restriction of recursive entity references in DTDs ('XML entity expansion') vulnerability in Apache Cocoon.

This issue affects Apache Cocoon: all versions. XEE in the fp: form processor could lead to SSRF, including exposing files from the server to an untrusted external system

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.

NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
retired, unsupported Apache project; negligible current production footprint
Data Quality
1 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy