Description
Hi.Events before 1.11.0 contains a cross-site scripting vulnerability that allows authenticated attackers with event creation or edit permissions to inject arbitrary HTML and JavaScript by embedding a malicious event title containing the </script> sequence, which is not escaped by JSON.stringify() when embedded in inline script tags. Attackers can craft an event title that breaks out of the script context in the application/ld+json structured data block or server-side rehydrated state, causing the payload to execute in the browser of any user who views the public event page, including unauthenticated visitors and authenticated administrators.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HiEventsDev | Hi.Events | < 1.11.0 | 1.11.0 |
References
- Hi.Events v.1.11.0-beta Release Notes release-notes
- GitHub Security Advisory (GHSA-2ggx-79g6-2jmj) vendor-advisory
- Pull Request issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/hi-events-beta-xss-via-event-title-json-stringify-injection third-party-advisory