Download Latest Version v4.5.0 source code.zip (1.1 MB) Google Add to Preferred Sources
Home / v4.5.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-09-08 2.6 kB
v4.5.0 source code.tar.gz 2026-09-08 842.3 kB
v4.5.0 source code.zip 2026-09-08 1.1 MB
Totals: 3 Items   1.9 MB 0

Security fix for GHSA-4cf7-xm37-g63h.

Custom claim, header, and JWK field names are now JSON-escaped on output. Previously a name was written between the quotes as is, so a name containing " could close its own member and add members the application never set. For example, calling Set with the name x":0,"admin produced a signed token containing "admin":true. Every name now yields exactly one member, and names that need no escaping serialize exactly as before. A name that is not valid UTF-8 now fails serialization instead of being written raw.

See the Changes file for guidance on screening caller-supplied names.

Fixed in v4.5.0 and v3.3.0. v2, v1, and v0 are unmaintained and will not receive a fix.

For more detailed release notes, see Changes.

What's Changed

Full Changelog: https://github.com/lestrrat-go/jwx/compare/v4.4.0...v4.5.0

Source: README.md, updated 2026-09-08