Description
ssr-pages is an HTML page builder for the purpose of server-side rendering (SSR). In versions prior to 0.1.4, a path traversal issue can occur when providing untrusted input to the `svg` 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.4.
Remediation
References
https://github.com/Finastra/ssr-pages/pull/1
https://github.com/Finastra/ssr-pages/pull/1/commits/c3e4c563384ae3ba3892f37dd190218577620780
https://github.com/Finastra/ssr-pages/security/advisories/GHSA-w6cx-qg2q-rvq8
Related Vulnerabilities
CVE-2021-43807 Vulnerability in maven package org.opencastproject:opencast-common
CVE-2020-26288 Vulnerability in npm package parse-server
CVE-2020-28268 Vulnerability in npm package controlled-merge
CVE-2023-0842 Vulnerability in npm package xml2js
CVE-2022-2564 Vulnerability in maven package org.webjars.npm:mongoose