Advisory

GHSA-8hq9-phh3-p2wp

Also known as: CVE-2026-31865

Summary

Elysia Cookie Value Prototype Pollution

Details

Impact
Elysia cookie can be overridden by prototype pollution , eg. __proto__

Sending cookie with the follows name can override cookie value:

__proto__=%7B%22injected%22%3A%22polluted%22%7D

Patches
Patched by 1.4.27

Workarounds

  1. Use t.Cookie validation to enforce validation value
  2. Prevent iterable over cookie if possible

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-17 16:17 UTC
Modified
2026-03-19 19:17 UTC

Affected packages and fixes

elysia

npm · All systems

Affected

  • introduced 0, fixed 1.4.27 (semver)

Fixed versions

1.4.27

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences