# CVE-2026-84172: Apache Wicket template disclosure via class loader misconfiguration

Source: https://junglewise.ai/threats/cve-2026-84172-files-accessible-to-external-parties-in-apache-wicket-org-apache  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-01. Updated: 2026-11-01  
License: CC BY 4.0 with a link back

CVE-2026-84172 · Severity: info · Published 2026-11-01

Apache Wicket is a Java web framework that serves static resources like HTML templates to clients. In certain deployment configurations where the framework is isolated in a separate class loader from the application, an attacker can request a component's markup template and receive its full source code. This exposes developer comments, template structure, and internal endpoint names, though no user data or credentials are at risk.

Technologies: [Apache Wicket](https://junglewise.ai/threats/technologies/apache-wicket). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-84172 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-84172 being exploited in the wild.

**How severe is CVE-2026-84172?** Informational severity, published 1 November 2026.

**Which products and versions are affected?** Apache Wicket 8.0.0–8.19.0, 9.0.0–9.24.0, 10.0.0–10.11.0.

**Is there a fix for CVE-2026-84172?** Yes: fixed in Wicket 8.20.0, 9.25.0, 10.12.0. Until then: Ensure wicket-core is packaged in the application's class loader (standard WEB-INF/lib placement in a web archive) rather than in a shared servlet container library, enterprise archive library, application server global module, or separate OSGi bundle.</anigation>
<parameter name="timeline">[{"kind":"disclosed","at":"2026-11-01"}] Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-84172 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-84172?** Check whether you run Apache Wicket at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Wicket 8.20.0, 9.25.0, 10.12.0

Ensure wicket-core is packaged in the application's class loader (standard WEB-INF/lib placement in a web archive) rather than in a shared servlet container library, enterprise archive library, application server global module, or separate OSGi bundle.</anigation>
<parameter name="timeline">[{"kind":"disclosed","at":"2026-11-01"}]

## Technical details

PackageResourceGuard in Apache Wicket checks whether a file may be served as a package resource by verifying a corresponding class file exists, preventing disclosure of component markup templates. When wicket-core is in a separate class loader from the application (e.g., in a shared library, OSGi bundle, or enterprise archive), the check fails to find the class file and incorrectly authorizes template delivery. An attacker can construct a package resource URL using fully qualified class names extracted from rendered URLs to retrieve template source code.

## Affected products

- Apache Wicket 8.0.0–8.19.0, 9.0.0–9.24.0, 10.0.0–10.11.0

## Related threats

- [Apache Wicket improper input neutralization in JavaScript generation](https://junglewise.ai/threats/cve-2026-95863-improper-neutralization-of-input-during-web-page-generation-in)
- [Apache Wicket missing Content-Security-Policy headers with nested request handler delegates](https://junglewise.ai/threats/cve-2026-87718-apache-wicket-10-10-0-10-11-0-and-9-24-0-do-not-set-the-content)
- [Apache Wicket ExternalLink reflected XSS in onclick attribute](https://junglewise.ai/threats/cve-2026-84231-improper-neutralization-of-input-during-web-page-generation-in)
- [Apache Wicket path validation bypass in package resource handling](https://junglewise.ai/threats/cve-2026-84177-incorrect-behavior-order-in-apache-wicket-a-file-path-is)
- [Apache Wicket resource exhaustion in file upload without limits](https://junglewise.ai/threats/cve-2026-84170-allocation-of-resources-without-limits-or-throttling-in-apache)
