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.
Remediation
References
https://github.com/Finastra/ssr-pages/commit/98abc59e28fec48246be0d59ac144675d6361073
https://github.com/Finastra/ssr-pages/pull/2
https://github.com/Finastra/ssr-pages/pull/2/commits/133606ffaec2edd9918d9fba5771ed21da7876a5
https://github.com/Finastra/ssr-pages/security/advisories/GHSA-7f63-h6g3-7cwm
Related Vulnerabilities
CVE-2023-31719 Vulnerability in npm package @frangoteam/fuxa
CVE-2022-31108 Vulnerability in npm package mermaid
CVE-2021-27516 Vulnerability in maven package org.webjars.bower:urijs
CVE-2017-16129 Vulnerability in npm package superagent
CVE-2012-3451 Vulnerability in maven package org.apache.cxf:cxf-rt-core