VDB
KO
MEDIUM 5.0

GHSA-2gx6-7gx2-wwcf

Ghost: Cross-Site Scripting in Universal Import

Quick fix

GHSA-2gx6-7gx2-wwcf — ghost: upgrade to the fixed version with the command below.

npm install ghost@6.54.1

Details

### Impact

The Universal Import feature in Ghost Admin failed to properly sanitize imported content resulting in XSS in post content.

### Vulnerable versions

This vulnerability is present in Ghost from v5.26.0 up to v6.54.0.

### Patches

v6.54.1 contains a fix for this issue.

### How to update

For self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost).

If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update).

### Workarounds

If upgrading immediately is not possible, avoid using the Universal Import feature.

### References

Ghost thanks meifukun for disclosing this vulnerability responsibly.

### For more information

If you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ghost
Introduced in: 5.26.0 Fixed in: 6.54.1
Fix npm install ghost@6.54.1

References