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-21422 Vulnerability in npm package mongo-express
CVE-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_3
CVE-2023-30513 Vulnerability in maven package org.csanchez.jenkins.plugins:kubernetes
CVE-2021-4040 Vulnerability in maven package org.apache.activemq:artemis-commons