Medium · published October 9, 2026
Apache CXF’s OIDC relying-party component could redirect users to an attacker-controlled URL after successful authentication. The issue occurs because attacker-controlled state parameters are preserved and later used as redirect targets without validating that the final decoded URI belongs to the RP’s origin. Both directly encoded and double-encoded external URLs can trigger the issue, depending on which validation path is used. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
| Product | Versions | Fixed in |
|---|---|---|
| apache/cxf | < 3.6.13 | 3.6.13 |
| apache/cxf | ≥ 4.0.0, < 4.1.9 | 4.1.9 |
| apache/cxf | ≥ 4.2.0, < 4.2.4 | 4.2.4 |