Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2025-23209

CVE-2025-23209: Craft CMS has a potential RCE with a compromised security key

January 21, 2025

This is an RCE vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised.

https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret

Anyone running an unpatched version of Craft with a compromised security key is affected.

References

  • craftcms.com/knowledge-base/securing-craft
  • github.com/advisories/GHSA-x684-96hh-833x
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603
  • github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x
  • nvd.nist.gov/vuln/detail/CVE-2025-23209

Code Behaviors & Features

Detect and mitigate CVE-2025-23209 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

All versions starting from 4.0.0-RC1 before 4.13.8, all versions starting from 5.0.0-RC1 before 5.5.8

Fixed versions

  • 5.5.8
  • 4.13.8

Solution

Upgrade to versions 4.13.8, 5.5.8 or above.

Impact 8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/craftcms/cms/CVE-2025-23209.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:49 +0000.