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-24750 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2019-16772 Vulnerability in maven package org.webjars.npm:serialize-javascript
CVE-2020-36189 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2021-23341 Vulnerability in maven package org.webjars.npm:prismjs
CVE-2018-25031 Vulnerability in maven package org.webjars.npm:swagger-ui-dist