GHSA-9643-4qgh-g8mx

Suggest an improvement
Source
https://github.com/advisories/GHSA-9643-4qgh-g8mx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9643-4qgh-g8mx/GHSA-9643-4qgh-g8mx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9643-4qgh-g8mx
Aliases
Published
2026-09-23T21:54:50Z
Modified
2026-09-23T22:00:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
elysia has Inefficient Algorithmic Complexity and Interpretation Conflict
Details

Elysia v1.4.28 is vulnerable to denial-of-service attacks due to CPU exhaustion in the form data normalization code.

Elysia uses getAll to retrieve value from FormData. It is called directly relative to the total number of key-value pairs in the form data. The total amount of work the for loop has to do grows quadratically, so doubling the number of unique key-value pairs quadruples the amount of work. In the above PoC, each .getAll call scans through all of the n key-value pairs in the form data. Because there are n unique keys in the form data, there are .getAll calls, so in total the form data normalizer has to scan n x n key-value pairs.

Impact

Endpoints using multipart/form-data

Patches

1.4.29

Workarounds

no 100% confirm workaround beside updating the patch

Database specific
{
    "cwe_ids":  [
        "CWE-407",
        "CWE-436"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-23T21:54:50Z",
    "nvd_published_at":  "2026-07-08T21:16:50Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / elysia

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9643-4qgh-g8mx/GHSA-9643-4qgh-g8mx.json"