Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ghost
  4. ›
  5. CVE-2022-47194

CVE-2022-47194: Insecure Default Variable Initialization

January 19, 2023 (updated June 27, 2023)

An insecure default vulnerability exists in the Post Creation functionality of Ghost Foundation Ghost 5.9.4. Default installations of Ghost allow non-administrator users to inject arbitrary Javascript in posts, which allow privilege escalation to administrator via XSS. To trigger this vulnerability, an attacker can send an HTTP request to inject Javascript in a post to trick an administrator into visiting the post.A stored XSS vulnerability exists in the twitter field for a user.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-47194
  • talosintelligence.com/vulnerability_reports/TALOS-2022-1686

Code Behaviors & Features

Detect and mitigate CVE-2022-47194 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 5.9.4

Fixed versions

  • 5.10.0

Solution

Upgrade to version 5.10.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/ghost/CVE-2022-47194.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.