Bug 2566993 - CVE-2026-116582 forgejo: seroval: Cross-site scripting via improper regular expression serialization [fedora-rawhide]
Summary: CVE-2026-116582 forgejo: seroval: Cross-site scripting via improper regular e...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["0c9d9839-8b5c-4670-af03-a...
Depends On:
Blocks: CVE-2026-116582
TreeView+ depends on / blocked
 
Reported: 2026-11-04 14:42 UTC by Oleg Sushchenko
Modified: 2026-11-04 14:42 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oleg Sushchenko 2026-11-04 14:42:21 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10.


Note You need to log in before you can comment on or make changes to this bug.