Vulnerabilities/

Astro: Cache Poisoning due to incorrect error handling when if-match header is malformed

Severity:
Medium

Description

Requesting a static JS/CSS resource from the _astro path with an incorrect or malformed if-match header returns a 500 error with a one-year cache lifetime instead of 412 in some cases.

Recommendation

Update the @astrojs/node package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@astrojs/node
Anything's wrong? Let us know Last updated on April 27, 2026