NauelG astro-blocks
AstroBlocks: Admin session tokens can be forged due to a hard-coded fallback JWT secret and a mismatched environment variable name
AstroBlocks is a block-first CMS for Astro projects. Prior to version 3.4.0, admin session tokens can be forged due to a hard-coded fallback JWT secret and a mismatched environment variable name. An attacker who knows the public fallback value (readable in the published package) can forge a valid session token with role: "owner" and obtain full administrative control of the CMS — creating/deleting content, users, media, redirects, and configuration. This issue has been patched in version 3.4.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.4.0
Fixed in 3.4.0
Mitigation
Upgrade astro-blocks to 3.4.0 or later.
References
- Vendor advisory github.com/NauelG/astro-blocks/security/adviso…
- Patch github.com/NauelG/astro-blocks/pull/51
- Patch github.com/NauelG/astro-blocks/commit/fd83bf0b…
1 more
- Release notes github.com/NauelG/astro-blocks/releases/tag/v3…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.