Seroval: Script injection through RegExp sources in serialized output
影響: npm:seroval >= 1.5.5, < 1.6.10 → 1.6.10, npm:seroval < 1.0.0 → 1.0.0
seroval writes a RegExp as a regular expression literal. In affected versions, the element that the serialized output is placed in, and run script in the page. Details seroval escapes element. RegExp sources did not get the same escaping: - Versions before 1.0.0 wrote the source as is. - Version 1.5.5 stopped escaping element, as server rendering usually does. In that case an attacker can run script in the page of any user who receives that output. Patches Fixed in 1.6.10. A RegExp whose source…
Read on GitHub Advisory Database
| CVE | CVE-2026-116582 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/29/2026, 09:48 AM |
| Data | Markdown JSON |
On 10/29/2026, 06:17 AM, GitHub Advisory Database published "Seroval: Script injection through RegExp sources in serialized output" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js. CVE: CVE-2026-116582.