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-2021-41246 Vulnerability in npm package express-openid-connect
CVE-2023-48309 Vulnerability in npm package next-auth
CVE-2023-38992 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-common
CVE-2020-7689 Vulnerability in npm package bcrypt
CVE-2022-30973 Vulnerability in maven package org.apache.tika:tika