Vikunja 2.2.0 before 2.7.0 Permissive CORS Policy Trusting Localhost Origins
go-vikunja vikunja
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.vikunja.io/api Go |
| No fix yet |
Original description
Vikunja from 2.2.0 before 2.7.0 contains a permissive CORS configuration that trusts every localhost and 127.0.0.1 port with credentials, even when service.publicurl is set. Attackers controlling a page on any localhost port can send a credentialed request to the token refresh endpoint and read the returned bearer JWT to take over the logged-in user's account.
From the CVE record · VulnCheck