ghost@4.47.2 vulnerabilities

The professional publishing platform

  • latest version

    5.105.0

  • first published

    13 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ghost package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Access Control

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Improper Access Control via some endpoints used for member actions. An attacker can perform member-only actions and read member information by exploiting the improper authentication mechanism.

    How to fix Improper Access Control?

    Upgrade ghost to version 5.89.5 or higher.

    >=4.46.0 <5.89.5
    • H
    Improper Neutralization of Formula Elements in a CSV File

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Improper Neutralization of Formula Elements in a CSV File during a member CSV export. An attacker can execute arbitrary commands by injecting maliciously crafted CSV content.

    How to fix Improper Neutralization of Formula Elements in a CSV File?

    Upgrade ghost to version 5.82.0 or higher.

    <5.82.0
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via an SVG profile picture upload. A contributor user can cause scripts to be executed as owner.

    How to fix Cross-site Scripting (XSS)?

    Upgrade ghost to version 5.83.0 or higher.

    <5.83.0
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the excerpt.js component. An attacker can inject and execute arbitrary script code in the context of the user's browser session by crafting a malicious post excerpt.

    How to fix Cross-site Scripting (XSS)?

    Upgrade ghost to version 5.76.0 or higher.

    <5.76.0
    • M
    Arbitrary File Read

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Arbitrary File Read which allows authenticated users to upload files that are symlinks. This can be exploited to perform an arbitrary file read of any file on the host operating system.

    Note: Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's content/ folder.

    How to fix Arbitrary File Read?

    Upgrade ghost to version 5.59.1 or higher.

    <5.59.1
    • H
    Directory Traversal

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Directory Traversal due to allowing remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/. This occurs in frontend/web/middleware/static-theme.js file.

    How to fix Directory Traversal?

    Upgrade ghost to version 5.42.1 or higher.

    <5.42.1
    • H
    Information Exposure

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Information Exposure such that due to a lack of validation when filtering on the public API endpoints, it is possible to reveal private fields via a brute force attack.

    How to fix Information Exposure?

    Upgrade ghost to version 5.46.1 or higher.

    <5.46.1
    • M
    Access Restriction Bypass

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Access Restriction Bypass that allows contributors to view draft posts of other users via the /ghost/api/admin/posts endpoint and draft pages of other users via the /ghost/api/admin/pages endpoint.

    NOTE: The vendor's position is that this behavior has no security impact.

    How to fix Access Restriction Bypass?

    There is no fixed version for ghost.

    >=0.4.2-rc1
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the codeinjection_foot field, which allows users to inject JavaScript into posts.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for ghost.

    >=0.0.0
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the codeinjection_head field, which allows users to inject JavaScript into posts.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for ghost.

    >=0.0.0
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the facebook field, which allows users to inject JavaScript into posts.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for ghost.

    >=0.0.0
    • M
    Cross-site Scripting (XSS)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the twitter field, which allows users to inject JavaScript into posts.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for ghost.

    >=0.0.0
    • H
    Improper Access Control

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Improper Access Control due to improper validation of nested objects via the Memebers API, which allows members to make changes to newsletter settings. Exploiting this vulnerability allows unprivileged users to view and change settings they were not intended to have access to.

    NOTE: By exploiting this vulnerability, it is not possible to escalate privileges permanently or get access to further information.

    How to fix Improper Access Control?

    Upgrade ghost to version 4.48.8, 5.22.7 or higher.

    >=4.46.0 <4.48.8>=5.0.0 <5.22.7
    • M
    Remote Code Execution (RCE)

    ghost is a publishing platform

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) via a file that has previously been uploaded using the file upload functionality in the post editor.

    How to fix Remote Code Execution (RCE)?

    Upgrade ghost to version 4.48.2, 5.2.3 or higher.

    <4.48.2>=5.0.0 <5.2.3