Description
The 'clientId' parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing control characters. This allows an attacker to inject arbitrary content, including fake log entries, into the server's log files. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 | 4.2.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | >= 4.2.0, < 4.2.2 | 4.2.2 | GHSA-f8p7-h97q-7vx7 |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | < 4.1.7 | 4.1.7 | GHSA-f8p7-h97q-7vx7 |
Advisories 1
- WID-SEC-2026-1895 Apache CXF: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
References
- https://lists.apache.org/thread/xw95po30p8th58ms1no6b0f2375cql00 vendor-advisory