Skip to content

[GHSA-hx9m-jf43-8ffr] seroval affected by Denial of Service via RegExp serialization#7463

Open
Wenxin-Jiang wants to merge 1 commit intoWenxin-Jiang/advisory-improvement-7463from
Wenxin-Jiang-GHSA-hx9m-jf43-8ffr
Open

[GHSA-hx9m-jf43-8ffr] seroval affected by Denial of Service via RegExp serialization#7463
Wenxin-Jiang wants to merge 1 commit intoWenxin-Jiang/advisory-improvement-7463from
Wenxin-Jiang-GHSA-hx9m-jf43-8ffr

Conversation

@Wenxin-Jiang
Copy link
Copy Markdown

Updates

  • Affected products

Comments
seroval@0.1.0 exports only serialize() and does not include any deserialization code path. The vulnerable deserialize() function—whose implementation passes attacker-controlled input to indirect evaluation via (0, eval)(source) (see src/index.ts:90)—is first introduced in 0.2.0.

Because 0.1.0 contains no eval-backed deserializer, it provides no sink through which a malicious payload can be executed.

Accordingly, the correct introduced version is 0.2.0, which is the first release that actually contains the vulnerable sink. This aligns the affected range with the first version in which the bug is reachable.

@github
Copy link
Copy Markdown
Collaborator

github commented Apr 20, 2026

Hi there @lxsmnsyc! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@github-actions github-actions bot changed the base branch from main to Wenxin-Jiang/advisory-improvement-7463 April 20, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants