GHSA-8hq9-phh3-p2wp

Suggest an improvement
Source
https://github.com/advisories/GHSA-8hq9-phh3-p2wp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8hq9-phh3-p2wp/GHSA-8hq9-phh3-p2wp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8hq9-phh3-p2wp
Aliases
  • CVE-2026-31865
Published
2026-03-17T16:17:41Z
Modified
2026-03-17T16:31:27.757264Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
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
Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1321"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2026-03-17T16:17:41Z",
    "nvd_published_at": null
}
References

Affected packages

npm / elysia

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8hq9-phh3-p2wp/GHSA-8hq9-phh3-p2wp.json"