CVE-2022-24717 Cross Site Scripting (XSS) in ssr-pages
An attacker can execute arbitrary scripts via untrusted input in the redirect link property of the ssr-pages library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-24717?
CVE-2022-24717 is a medium-severity cross-site scripting vulnerability in Finastra ssr-pages, published on 1 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
ssr-pages is an HTML page builder for the purpose of server-side rendering (SSR). In versions prior to 0.1.5, a cross site scripting (XSS) issue can occur when providing untrusted input to the `redirect.link` property as an argument to the `build(MessagePageOptions)` function. While there is no known workaround at this time, there is a patch in version 0.1.5.
Weakness: CWE-79
Which versions are affected by CVE-2022-24717?
2 open source packages ship an affected version, including @finastra/ssr-pages. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@finastra/ssr-pages npm | All versions | 0.1.5 |
@finastra/ssr-pages npm | All versions | 0.1.5 |
Products include Finastra Ssr-Pages.
How do I fix CVE-2022-24717?
Upgrade @finastra/ssr-pages to 0.1.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-24717 being exploited?
There is no known exploitation of CVE-2022-24717 in the wild and no public exploit code.
Other vulnerabilities in Finastra ssr-pages
Sources
Also known as GHSA-7f63-h6g3-7cwm.