CVE-2022-28397
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-28397 is an arbitrary file upload vulnerability discovered in Ghost CMS version 4.42.0. The vulnerability was disclosed on April 12, 2022. The issue was reported as allowing attackers to execute arbitrary code via a crafted file through the file upload module (NVD, CVE).

Technical details

The vulnerability received a CVSS v3.1 score of 9.8 (CRITICAL) and CVSS v2.0 score of 7.5 (HIGH). However, this vulnerability is disputed as the vendor states that file uploads can only be performed by trusted users, which is an intentional feature of the system (NVD).

Impact

If exploited, the vulnerability could potentially allow attackers to execute arbitrary code on the system through crafted file uploads. However, since this requires authenticated access from trusted users, the real-world impact is limited by the Ghost CMS security model (Ghost Security Docs).

Mitigation and workarounds

As per Ghost's security documentation, the platform is designed to only allow trusted users to upload and publish files. This is an intentional security model where all users are considered privileged/trusted. For organizations concerned about potential abuse, Ghost recommends splitting the front-end and admin areas onto different domains to provide additional security through browser protections (Ghost Security Docs).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management