Description
Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/ directory traversal. This occurs in frontend/web/middleware/static-theme.js.
Remediation
References
https://github.com/TryGhost/Ghost/commit/378dd913aa8d0fd0da29b0ffced8884579598b0f
https://github.com/TryGhost/Ghost/compare/v5.42.0...v5.42.1
Related Vulnerabilities
CVE-2020-28446 Vulnerability in npm package ntesseract
CVE-2017-5662 Vulnerability in maven package org.apache.xmlgraphics:batik-rasterizer
CVE-2019-17359 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk15on
CVE-2022-46166 Vulnerability in maven package de.codecentric:spring-boot-admin-server
CVE-2022-45598 Vulnerability in npm package @joplin/renderer