All vulnerabilities

Maven

CVE-2026-84172

Apache Wicket: Component markup is served as a package resource when wicket-core has its own class loader

Severity
Medium 6.3
Published
1 Nov 2026
Last changed
6 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Files or directories accessible to outside parties (CWE-552)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Files accessible to external parties in Apache Wicket.

org.apache.wicket.markup.html.PackageResourceGuard decides whether a file on the classpath may be streamed to a client as a package resource. HTML is on the default allow list, so the only thing that separates a static HTML file, which may be served, from a component's markup template, which may not, is a check for a class file of the same name beside it. That check calls getResource() on the class loader that loaded wicket-core. The resource itself is reached through different class loaders: the scope class is resolved through the application's IClassResolver, which uses the thread context class loader, and org.apache.wicket.core.util.resource.ClassPathResourceFinder#find() then tries the scope class' own loader, the context class loader, and the wicket-core loader last.

Where wicket-core is loaded by a class loader that cannot see the application's classes, the check finds no class file, concludes the file is not a component…

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.wicket:wicket-coreMaven · osv:Maven:org.apache.wicket:wicket-core
  • From 8.0.0 up to 8.19.0
  • From 9.0.0 up to 9.24.0
  • From 10.0.0 up to 10.11.0

About org.apache.wicket:wicket-core

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-84172