CVE-2022-47196
NixOS vulnerability analysis and mitigation

Overview

An insecure default vulnerability (CVE-2022-47196) was discovered in Ghost Foundation Ghost 5.9.4's Post Creation functionality. The vulnerability allows non-administrator users to inject arbitrary Javascript in posts through the codeinjection_head field, potentially leading to privilege escalation to administrator via XSS. This vulnerability can be triggered when an attacker sends an HTTP request to inject Javascript in a post and tricks an administrator into visiting the post (Talos).

Technical details

The vulnerability is classified as an Insecure Default Variable Initialization (CWE-453) and Cross-site Scripting (CWE-79) issue. It received a CVSS v3.1 base score of 5.4 (MEDIUM) from NVD and 9.0 (CRITICAL) from Talos, with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The vulnerability specifically exists in the codeinjection_head field for posts, where insufficient input validation allows for JavaScript injection (NVD).

Impact

When exploited, this vulnerability allows attackers with basic user privileges to potentially escalate their privileges to administrator level through XSS attacks. In default installations of Ghost CMS, this effectively means that users who can author pages have the same privileges as administrators (Talos).

Mitigation and workarounds

To mitigate this vulnerability, administrators can separate the admin domain as documented in Ghost's configuration guide. This prevents the vulnerability from being exploited to perform privileged API calls, such as modifying user groups or adding users (Talos).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 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