CVE-2022-47194
NixOS vulnerability analysis and mitigation

Overview

A stored XSS vulnerability (CVE-2022-47194) was discovered in Ghost Foundation Ghost 5.9.4, specifically in the Post Creation functionality. The vulnerability exists in the 'twitter' field for user profiles and is part of a broader set of XSS vulnerabilities that affect default installations of Ghost CMS. The issue was discovered by Dave McDaniel of Cisco Talos and disclosed in January 2023 (Talos Report).

Technical details

The vulnerability is classified as an insecure default variable initialization (CWE-453) with a CVSSv3 score of 9.0 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H). Ghost CMS separates users into different privilege levels (Contributor, Author, Editor, and Administrator), with Contributors having the least privileges. The vulnerability allows non-administrator users to inject arbitrary JavaScript in posts through the twitter field, which can be exploited when a higher-level user previews or visits any post by the malicious user (Talos Report).

Impact

The vulnerability can lead to privilege escalation, allowing an attacker to gain administrator privileges through XSS exploitation. In default installations of Ghost CMS, this effectively means that users who can author pages have the same privileges as administrator users. The vulnerability can be triggered when a higher-level user simply previews or visits any post by the malicious user (Talos Report).

Exploitability

The vulnerability requires an authenticated user with basic posting privileges to exploit. The attacker needs to inject malicious JavaScript code into the twitter field of their user profile. For successful exploitation, a target user with higher access levels must access affected resources while logged in to trigger the injected JavaScript (Talos Report).

Mitigation and workarounds

The primary mitigation is to separate the admin domain as documented at ghost.org/docs/config/#admin-url. This configuration prevents the vulnerability from being exploited to perform privileged API calls, such as modifying user groups or adding users. The vulnerability was fixed in subsequent versions of Ghost CMS (Talos Report).

Community reactions

Initially, the Ghost vendor team did not consider this issue a security problem, as documented in the timeline of the Talos report. Despite multiple communications between October 2022 and January 2023, the vendor maintained their position that this was not a valid security issue (Talos Report).

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-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

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