New Plugin Release 4.1.1
· One min read
The version 4.1.1 has been released today on WordPress.
A security release. Updating is recommended for everyone. If a browser app on another origin sends the JWT, list that origin in the CORS Allow origin setting before updating.
Security
- Fixed a security vulnerability affecting JWT authentication of REST requests (reported via Patchstack)
Breaking Changes
- Cross-origin browser apps that send the JWT must have their origin listed in the CORS Allow origin setting. A
*entry trusts theAuthorizationheader only - cookie and session JWTs are never trusted - With CORS disabled (or Allow origin off), a JWT sent by a browser page on another site, even in the
Authorizationheader, is ignored
Requests from the site itself, server-to-server calls, mobile apps and JWTs passed in the URL (for example, autologin links) are not affected.
Read more about cross-site requests and CORS.
Bug Fixes
- Fix "JWT from session" making every plugin endpoint and Protect Endpoints fail with a
500error (call to an undefined session function)
If you encounter any issues after updating, please open an issue on GitHub.
