craftcms CVE Vulnerabilities & Metrics

Focus on craftcms vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About craftcms Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with craftcms. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total craftcms CVEs: 51
Earliest CVE date: 22 Apr 2017, 01:59 UTC
Latest CVE date: 18 Jan 2025, 01:15 UTC

Latest CVE reference: CVE-2025-23209

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 7

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): -100.0%
Year Variation (Calendar): -56.25%

Month Growth Rate (30-day Rolling): -100.0%
Year Growth Rate (365-day Rolling): -56.25%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical craftcms CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 2.04

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 33
4.0-6.9 16
7.0-8.9 2
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS craftcms CVEs

These are the five CVEs with the highest CVSS scores for craftcms, sorted by severity first and recency.

All CVEs for craftcms

CVE-2025-23209 craftcms vulnerability CVSS: 0 18 Jan 2025, 01:15 UTC

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Users who cannot update to a patched version, should rotate their security keys and ensure their privacy to help migitgate the issue.

CVE-2024-52292 craftcms vulnerability CVSS: 0 13 Nov 2024, 17:15 UTC

Craft is a content management system (CMS). The dataUrl function can be exploited if an attacker has write permissions on system notification templates. This function accepts an absolute file path, reads the file's content, and converts it into a Base64-encoded string. By embedding this function within a system notification template, the attacker can exfiltrate the Base64-encoded file content through a triggered system email notification. Once the email is received, the Base64 payload can be decoded, allowing the attacker to read arbitrary files on the server. This is fixed in 5.4.9 and 4.12.8.

CVE-2024-52291 craftcms vulnerability CVSS: 0 13 Nov 2024, 17:15 UTC

Craft is a content management system (CMS). A vulnerability in CraftCMS allows an attacker to bypass local file system validation by utilizing a double file:// scheme (e.g., file://file:////). This enables the attacker to specify sensitive folders as the file system, leading to potential file overwriting through malicious uploads, unauthorized access to sensitive files, and, under certain conditions, remote code execution (RCE) via Server-Side Template Injection (SSTI) payloads. Note that this will only work if you have an authenticated administrator account with allowAdminChanges enabled. This is fixed in 5.4.6 and 4.12.5.

CVE-2024-52293 craftcms vulnerability CVSS: 0 13 Nov 2024, 16:15 UTC

Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.

CVE-2024-45406 craftcms vulnerability CVSS: 0 09 Sep 2024, 17:15 UTC

Craft is a content management system (CMS). Craft CMS 5 stored XSS can be triggered by the breadcrumb list and title fields with user input.

CVE-2024-41800 craftcms vulnerability CVSS: 0 25 Jul 2024, 17:15 UTC

Craft is a content management system (CMS). Craft CMS 5 allows reuse of TOTP tokens multiple times within the validity period. An attacker is able to re-submit a valid TOTP token to establish an authenticated session. This requires that the attacker has knowledge of the victim's credentials. This has been patched in Craft 5.2.3.

CVE-2024-37843 craftcms vulnerability CVSS: 0 25 Jun 2024, 21:15 UTC

Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.

CVE-2023-36260 craftcms vulnerability CVSS: 0 30 Jan 2024, 09:15 UTC

An issue was discovered in the Feed Me plugin 4.6.1 for Craft CMS. It allows remote attackers to cause a denial of service (DoS) via crafted strings to Feed-Me Name and Feed-Me URL fields, due to saving a feed using an Asset element type with no volume selected. NOTE: this is not a report about code provided by the Craft CMS product; it is only a report about the Feed Me plugin. NOTE: a third-party report states that commit b5d6ede51848349bd91bc95fec288b6793f15e28 has "nothing to do with security."

CVE-2023-36259 craftcms vulnerability CVSS: 0 30 Jan 2024, 09:15 UTC

Cross Site Scripting (XSS) vulnerability in Craft CMS Audit Plugin before version 3.0.2 allows attackers to execute arbitrary code during user creation.

CVE-2024-21622 craftcms vulnerability CVSS: 0 03 Jan 2024, 17:15 UTC

Craft is a content management system. This is a potential moderate impact, low complexity privilege escalation vulnerability in Craft starting in 3.x prior to 3.9.6 and 4.x prior to 4.4.16 with certain user permissions setups. This has been fixed in Craft 4.4.16 and Craft 3.9.6. Users should ensure they are running at least those versions.

CVE-2023-41892 craftcms vulnerability CVSS: 0 13 Sep 2023, 20:15 UTC

Craft CMS is a platform for creating digital experiences. This is a high-impact, low-complexity attack vector. Users running Craft installations before 4.4.15 are encouraged to update to at least that version to mitigate the issue. This issue has been fixed in Craft CMS 4.4.15.

CVE-2023-40035 craftcms vulnerability CVSS: 0 23 Aug 2023, 21:15 UTC

Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.

CVE-2023-33495 craftcms vulnerability CVSS: 0 20 Jun 2023, 13:15 UTC

Craft CMS through 4.4.9 is vulnerable to HTML Injection.

CVE-2023-30179 craftcms vulnerability CVSS: 0 13 Jun 2023, 17:15 UTC

CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Execution. NOTE: the vendor disputes this because only Administrators can add this Twig code, and (by design) Administrators are allowed to do that by default.

CVE-2023-33195 craftcms vulnerability CVSS: 0 27 May 2023, 04:15 UTC

Craft is a CMS for creating custom digital experiences on the web. A malformed RSS feed can deliver an XSS payload. This issue was patched in version 4.4.6.

CVE-2023-33196 craftcms vulnerability CVSS: 0 26 May 2023, 21:15 UTC

Craft is a CMS for creating custom digital experiences. Cross site scripting (XSS) can be triggered by review volumes. This issue has been fixed in version 4.4.7.

CVE-2023-33194 craftcms vulnerability CVSS: 0 26 May 2023, 21:15 UTC

Craft is a CMS for creating custom digital experiences on the web.The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was patched in version 4.4.6.

CVE-2023-33197 craftcms vulnerability CVSS: 0 26 May 2023, 20:15 UTC

Craft is a CMS for creating custom digital experiences on the web. Cross-site scripting (XSS) can be triggered via the Update Asset Index utility. This issue has been patched in version 4.4.6.

CVE-2023-2817 craftcms vulnerability CVSS: 0 26 May 2023, 17:15 UTC

A post-authentication stored cross-site scripting vulnerability exists in Craft CMS versions <= 4.4.11. HTML, including script tags can be injected into field names which, when the field is added to a category or section, will trigger when users visit the Categories or Entries pages respectively.

CVE-2023-32679 craftcms vulnerability CVSS: 0 19 May 2023, 20:15 UTC

Craft CMS is an open source content management system. In affected versions of Craft CMS an unrestricted file extension may lead to Remote Code Execution. If the name parameter value is not empty string('') in the View.php's doesTemplateExist() -> resolveTemplate() -> _resolveTemplateInternal() -> _resolveTemplate() function, it returns directly without extension verification, so that arbitrary extension files are rendered as twig templates. When attacker with admin privileges on a DEV or an improperly configured STG or PROD environment, they can exploit this vulnerability to remote code execution. Code execution may grant the attacker access to the host operating system. This issue has been addressed in version 4.4.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-30130 craftcms vulnerability CVSS: 0 12 May 2023, 11:15 UTC

An issue found in CraftCMS v.3.8.1 allows a remote attacker to execute arbitrary code via a crafted script to the Section parameter.

CVE-2023-31144 craftcms vulnerability CVSS: 0 09 May 2023, 16:15 UTC

Craft CMS is a content management system. Starting in version 3.0.0 and prior to versions 3.8.4 and 4.4.4, a malformed title in the feed widget can deliver a cross-site scripting payload. This issue is fixed in version 3.8.4 and 4.4.4.

CVE-2023-30177 craftcms vulnerability CVSS: 0 25 Apr 2023, 18:15 UTC

CraftCMS 3.7.59 is vulnerable Cross Site Scripting (XSS). An attacker can inject javascript code into Volume Name.

CVE-2023-23927 craftcms vulnerability CVSS: 0 03 Mar 2023, 22:15 UTC

Craft is a platform for creating digital experiences. When you insert a payload inside a label name or instruction of an entry type, an cross-site scripting (XSS) happens in the quick post widget on the admin dashboard. This issue has been fixed in version 4.3.7.

CVE-2022-37783 craftcms vulnerability CVSS: 0 05 Dec 2022, 21:15 UTC

All Craft CMS versions between 3.0.0 and 3.7.32 disclose password hashes of users who authenticate using their E-Mail address or username in Anti-CSRF-Tokens. Craft CMS uses a cookie called CRAFT_CSRF_TOKEN and a HTML hidden field called CRAFT_CSRF_TOKEN to avoid Cross Site Request Forgery attacks. The CRAFT_CSRF_TOKEN cookie discloses the password hash in without encoding it whereas the corresponding HTML hidden field discloses the users' password hash in a masked manner, which can be decoded by using public functions of the YII framework.

CVE-2022-37246 craftcms vulnerability CVSS: 0 21 Sep 2022, 15:15 UTC

Craft CMS 4.2.0.1 is affected by Cross Site Scripting (XSS) in the file src/web/assets/cp/src/js/BaseElementSelectInput.js and in specific on the line label: elementInfo.label.

CVE-2022-37251 craftcms vulnerability CVSS: 0 16 Sep 2022, 22:15 UTC

Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.

CVE-2022-37247 craftcms vulnerability CVSS: 0 16 Sep 2022, 22:15 UTC

Craft CMS 4.2.0.1 is vulnerable to stored a cross-site scripting (XSS) via /admin/settings/fields page.

CVE-2022-37248 craftcms vulnerability CVSS: 0 16 Sep 2022, 16:15 UTC

Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via src/helpers/Cp.php.

CVE-2022-37250 craftcms vulnerability CVSS: 0 16 Sep 2022, 15:15 UTC

Craft CMS 4.2.0.1 suffers from Stored Cross Site Scripting (XSS) in /admin/myaccount.

CVE-2022-29933 craftcms vulnerability CVSS: 6.8 09 May 2022, 18:15 UTC

Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the account's password and take over the account by providing a crafted HTTP header to the application while using the password reset functionality. Specifically, the attacker must send X-Forwarded-Host to the /index.php?p=admin/actions/users/send-password-reset-email URI. NOTE: the vendor's position is that a customer can already work around this by adjusting the configuration (i.e., by not using the default configuration).

CVE-2022-28378 craftcms vulnerability CVSS: 4.3 03 Apr 2022, 18:15 UTC

Craft CMS before 3.7.29 allows XSS.

CVE-2021-41824 craftcms vulnerability CVSS: 6.8 30 Sep 2021, 00:15 UTC

Craft CMS before 3.7.14 allows CSV injection.

CVE-2021-27903 craftcms vulnerability CVSS: 7.5 30 Jun 2021, 12:15 UTC

An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerability existed on sites that did not restrict administrative changes (if an attacker were somehow able to hijack an administrator's session).

CVE-2021-27902 craftcms vulnerability CVSS: 4.3 30 Jun 2021, 12:15 UTC

An issue was discovered in Craft CMS before 3.6.0. In some circumstances, a potential XSS vulnerability existed in connection with front-end forms that accepted user uploads.

CVE-2021-32470 craftcms vulnerability CVSS: 4.3 07 May 2021, 19:31 UTC

Craft CMS before 3.6.13 has an XSS vulnerability.

CVE-2020-19626 craftcms vulnerability CVSS: 3.5 26 Mar 2021, 15:15 UTC

Cross Site Scripting (XSS) vulnerability in craftcms 3.1.31, allows remote attackers to inject arbitrary web script or HTML, via /admin/settings/sites/new.

CVE-2020-9757 craftcms vulnerability CVSS: 7.5 04 Mar 2020, 17:15 UTC

The SEOmatic component before 3.3.0 for Craft CMS allows Server-Side Template Injection that leads to RCE via malformed data to the metacontainers controller.

CVE-2019-9554 craftcms vulnerability CVSS: 4.3 31 Dec 2019, 17:15 UTC

In the 3.1.12 Pro version of Craft CMS, XSS has been discovered in the header insertion field when adding source code at an s/admin/entries/news/new URI.

CVE-2019-15929 craftcms vulnerability CVSS: 5.0 24 Oct 2019, 16:15 UTC

In Craft CMS through 3.1.7, the elevated session password prompt was not being rate limited like normal login forms, leading to the possibility of a brute force attempt on them.

CVE-2019-17496 craftcms vulnerability CVSS: 4.3 11 Oct 2019, 00:15 UTC

Craft CMS before 3.3.8 has stored XSS via a name field. This field is mishandled during site deletion.

CVE-2019-14280 craftcms vulnerability CVSS: 5.0 26 Jul 2019, 04:15 UTC

In some circumstances, Craft 2 before 2.7.10 and 3 before 3.2.6 wasn't stripping EXIF data from user-uploaded images when it was configured to do so, potentially exposing personal/geolocation data to the public.

CVE-2019-12823 craftcms vulnerability CVSS: 4.3 18 Jun 2019, 13:15 UTC

Craft CMS before 3.1.31 does not properly filter XML feeds and thus allowing XSS.

CVE-2018-20465 craftcms vulnerability CVSS: 4.0 25 Dec 2018, 23:29 UTC

Craft CMS through 3.0.34 allows remote authenticated administrators to read sensitive information via server-side template injection, as demonstrated by a {% string for craft.app.config.DB.user and craft.app.config.DB.password in the URI Format of the Site Settings, which causes a cleartext username and password to be displayed in a URI field.

CVE-2018-20418 craftcms vulnerability CVSS: 3.5 24 Dec 2018, 04:29 UTC

index.php?p=admin/actions/entries/save-entry in Craft CMS 3.0.25 allows XSS by saving a new title from the console tab.

CVE-2018-3814 craftcms vulnerability CVSS: 6.5 01 Jan 2018, 20:29 UTC

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and then the "Replace it" option, because this allows a .jpg file to have embedded PHP code, and then be renamed to a .php extension.

CVE-2017-9516 craftcms vulnerability CVSS: 3.5 08 Jun 2017, 13:29 UTC

Craft CMS before 2.6.2982 allows for a potential XSS attack vector by uploading a malicious SVG file.

CVE-2017-8385 craftcms vulnerability CVSS: 5.0 01 May 2017, 06:59 UTC

Craft CMS before 2.6.2976 does not prevent modification of the URL in a forgot-password email message.

CVE-2017-8384 craftcms vulnerability CVSS: 4.3 01 May 2017, 06:59 UTC

Craft CMS before 2.6.2976 allows XSS attacks because an array returned by HttpRequestService::getSegments() and getActionSegments() need not be zero-based. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-8052.

CVE-2017-8383 craftcms vulnerability CVSS: 5.0 01 May 2017, 06:59 UTC

Craft CMS before 2.6.2976 does not properly restrict viewing the contents of files in the craft/app/ folder.

CVE-2017-8052 craftcms vulnerability CVSS: 4.3 22 Apr 2017, 01:59 UTC

Craft CMS before 2.6.2974 allows XSS attacks.