p PatchFirst

PatchFirst · Latest vulnerabilities

craftcms/cms vulnerabilities · Page 4

Vulnerabilities published for craftcms/cms in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 127

  1. CVE-2026-27127

    High · CVSS 7EPSS 0.49%Fix available

    Craft CMS has Cloud Metadata SSRF Protection Bypass via DNS Rebinding

    Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, the SSRF validation in Craft CMS’s GraphQL Asset mutation performs DNS resolution separately from the HTTP request. This Time-of-Check-Time-of-Use (TOCTOU) vulnerability enables DNS rebinding attacks, where an attacker’s DNS server returns different IP addresses for validation compared to the actual request. This is a bypass of the security fix for CVE-2025-68437 that allows access to all blocked IPs, not just IPv6 endpoints. Exploitation requires GraphQL schema permissions for editing assets in the `<VolumeName>` volume and creatin

    • Update to 4.16.19
    • Update to 5.8.23
    Published Updated
  2. CVE-2026-27126

    Medium · CVSS 5.9EPSS 0.25%Fix available

    Craft CMS has Stored XSS in Table Field via "HTML" Column Type

    Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, a stored Cross-site Scripting (XSS) vulnerability exists in the `editableTable.twig` component when using the `html` column type. The application fails to sanitize the input, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field. In order to exploit the vulnerability, an attacker must have an administrator account, and `allowAdminChanges` must be enabled in production, which is against Craft's security recommendations. Versions 4.16.19 and 5.8.23 patch the issue.

    • Update to 4.16.19
    • Update to 5.8.23
    Published Updated
  3. CVE-2026-25498

    High · CVSS 8.6EPSS 1.12%Fix available

    Craft has a potential authenticated Remote Code Execution via malicious attached Behavior

    Craft is a platform for creating digital experiences. In versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a Remote Code Execution (RCE) vulnerability exists in Craft CMS where the assembleLayoutFromPost() function in src/services/Fields.php fails to sanitize user-supplied configuration data before passing it to Craft::createObject(). This allows authenticated administrators to inject malicious Yii2 behavior configurations that execute arbitrary system commands on the server. This vulnerability represents an unpatched variant of the behavior injection vulnerability addressed in CVE-2025-68455, affecting different endpoints thro

    • Update to 4.16.18
    • Update to 5.8.22
    Published Updated
  4. CVE-2026-25497

    High · CVSS 8.6EPSS 0.48%Fix available

    Craft has a GraphQL Asset Mutation Privilege Escalation

    Craft is a platform for creating digital experiences. In Craft versions from 4.0.0-RC1 to before 4.17.0-beta.1 and 5.9.0-beta.1, there is a Privilege Escalation vulnerability in Craft CMS’s GraphQL API that allows an authenticated user with write access to one asset volume to escalate their privileges and modify/transfer assets belonging to any other volume, including restricted or private volumes to which they should not have access. The saveAsset GraphQL mutation validates authorization against the schema-resolved volume but fetches the target asset by ID without verifying that the asset belongs to the authorized volume. This allows unautho

    • Update to 4.17.0-beta.1
    • Update to 5.9.0-beta.1
    Published Updated
  5. CVE-2026-25496

    Medium · CVSS 4.8EPSS 0.42%Fix available

    Craft has a stored XSS in Number Prefix & Suffix Fields

    Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a stored XSS vulnerability exists in the Number field type settings. The Prefix and Suffix fields are rendered using the |md|raw Twig filter without proper escaping, allowing script execution when the Number field is displayed on users' profiles. This issue is patched in versions 4.16.18 and 5.8.22.

    • Update to 4.16.18
    • Update to 5.8.22
    Published Updated
  6. CVE-2026-25495

    High · CVSS 8.7EPSS 0.56%Fix available

    Craft has a SQL Injection in Element Indexes via criteria[orderBy]

    Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the element-indexes/get-elements endpoint is vulnerable to SQL Injection via the criteria[orderBy] parameter (JSON body). The application fails to sanitize this input before using it in the database query. An attacker with Control Panel access can inject arbitrary SQL into the ORDER BY clause by omitting viewState[order] (or setting both to the same payload). This issue is patched in versions 4.16.18 and 5.8.22.

    • Update to 4.16.18
    • Update to 5.8.22
    Published Updated
  7. CVE-2026-25494

    Medium · CVSS 6.9EPSS 0.4%Fix available

    Craft has a SSRF in GraphQL Asset Mutation via Alternative IP Notation

    Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the saveAsset GraphQL mutation uses filter_var(..., FILTER_VALIDATE_IP) to block a specific list of IP addresses. However, alternative IP notations (hexadecimal, mixed) are not recognized by this function, allowing attackers to bypass the blocklist and access cloud metadata services. This issue is patched in versions 4.16.18 and 5.8.22.

    • Update to 4.16.18
    • Update to 5.8.22
    Published Updated
  8. CVE-2026-25493

    Medium · CVSS 6.9EPSS 0.4%Fix available

    Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect

    Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the saveAsset GraphQL mutation validates the initial URL hostname and resolved IP against a blocklist, but Guzzle follows HTTP redirects by default. An attacker can bypass all SSRF protections by hosting a redirect that points to cloud metadata endpoints or any internal IP addresses. This issue is patched in versions 4.16.18 and 5.8.22.

    • Update to 4.16.18
    • Update to 5.8.22
    Published Updated
  9. CVE-2026-25491

    Low · CVSS 1.9EPSS 0.36%Fix available

    Craft has a Stored XSS in Entry Types Name

    Craft is a platform for creating digital experiences. From 5.0.0-RC1 to 5.8.21, Craft has a stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list. This vulnerability is fixed in 5.8.22.

    • Update to 5.8.22
    Published Updated
  10. CVE-2025-68456

    High · CVSS 7EPSS 0.56%Fix available

    Unauthenticated Craft CMS users can trigger a database backup

    Craft is a platform for creating digital experiences. In versions 5.0.0-RC1 through 5.8.20 and 3.0.0 through 4.16.16, unauthenticated users can trigger database backup operations via specific admin actions, potentially leading to resource exhaustion or information disclosure. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue. Craft 3 users should update to the latest Craft 4 and 5 releases, which include the fixes.

    • Update to 4.16.17
    • Update to 5.8.21
    Published Updated
  11. CVE-2025-68455

    High · CVSS 8.6EPSS 0.97%Fix available

    Craft CMS vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior

    Craft is a platform for creating digital experiences. Versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 are vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior. Note that attackers must have administrator access to the Craft Control Panel for this to work. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.

    • Update to 4.16.17
    • Update to 5.8.21
    Published Updated
  12. CVE-2025-68454

    Medium · CVSS 5.2EPSS 0.94%Fix available

    Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI

    Craft is a platform for creating digital experiences. Versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 are vulnerable to potential authenticated Remote Code Execution via Twig SSTI. For this to work, users must have administrator access to the Craft Control Panel, and allowAdminChanges must be enabled, which is against Craft CMS' recommendations for any non-dev environment. Alternatively, a non-administrator account with allowAdminChanges disabled can be used, provided access to the System Messages utility is available. It is possible to craft a malicious payload using the Twig `map` filter in text fields that accept Twig input

    • Update to 4.16.17
    • Update to 5.8.21
    Published Updated
  13. CVE-2025-68437

    Medium · CVSS 5EPSS 0.47%Fix available

    Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutation

    Craft is a platform for creating digital experiences. In versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16, the Craft CMS GraphQL `save_<VolumeName>_Asset` mutation is vulnerable to Server-Side Request Forgery (SSRF). This vulnerability arises because the `_file` input, specifically its `url` parameter, allows the server to fetch content from arbitrary remote locations without proper validation. Attackers can exploit this by providing internal IP addresses or cloud metadata endpoints as the `url`, forcing the server to make requests to these restricted services. The fetched content is then saved as an asset, which can subsequent

    • Update to 4.16.17
    • Update to 5.8.21
    Published Updated
  14. CVE-2025-68436

    Medium · CVSS 4.9EPSS 0.28%Fix available

    Craft CMS vulnerable to potential information disclosure via unchecked asset relocation

    Craft is a platform for creating digital experiences. In versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16, authenticated users on a Craft installation could potentially expose sensitive assets via their user profile photo via maliciously crafted requests. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.

    • Update to 4.16.17
    • Update to 5.8.21
    Published Updated
  15. CVE-2025-57811

    Medium · CVSS 6.1EPSS 0.94%Fix available

    Craft Potential Remote Code Execution via Twig SSTI

    Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.

    • Update to 4.16.6
    • Update to 5.8.7
    Published Updated
  16. CVE-2025-54417

    Medium · CVSS 5.2EPSS 0.5%Fix available

    Craft contains a theoretical bypass for CVE-2025-23209

    Craft is a platform for creating digital experiences. Versions 4.13.8 through 4.16.2 and 5.5.8 through 5.8.3 contain a vulnerability that can bypass CVE-2025-23209: "Craft CMS has a potential RCE with a compromised security key". To exploit this vulnerability, the project must meet these requirements: have a compromised security key and create an arbitrary file in Craft's /storage/backups folder. With those criteria in place, attackers could create a specific, malicious request to the /updater/restore-db endpoint and execute CLI commands remotely. This issue is fixed in versions 4.16.3 and 5.8.4.

    • Update to 4.16.3
    • Update to 5.8.4
    Published Updated
  17. CVE-2025-35939

    Medium · CVSS 6.9EPSS 1.35%In KEVFix available

    Craft CMS stores user-provided content in session files

    Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at '/var/lib/php/sessions'. Such session files are named 'sess_[session_value]', where '[session_value]' is provided to the client in a 'Set-Cookie' response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known l

    • Update to 4.15.3
    • Update to 5.7.5
    Published Updated
  18. CVE-2025-46731

    High · CVSS 7.3EPSS 1.52%Fix available

    Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI

    Craft is a content management system. Versions of Craft CMS on the 4.x branch prior to 4.14.13 and on the 5.x branch prior to 5.6.16 contains a potential remote code execution vulnerability via Twig SSTI. One must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work. Users should update to the patched versions 4.14.13 or 5.6.15 to mitigate the issue.

    • Update to 4.14.13
    • Update to 5.6.15
  19. CVE-2025-32432

    Critical · CVSS 10EPSS 99.79%In KEVPublic exploitFix available

    Craft CMS Allows Remote Code Execution

    Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from version 3.0.0-RC1 to before 3.9.15, 4.0.0-RC1 to before 4.14.15, and 5.0.0-RC1 to before 5.6.17, Craft is vulnerable to remote code execution. This is a high-impact, low-complexity attack vector. This issue has been patched in versions 3.9.15, 4.14.15, and 5.6.17, and is an additional fix for CVE-2023-41892.

    • Update to 3.9.15
    • Update to 4.14.15
    • Update to 5.6.17
    Published Updated
  20. CVE-2025-23209

    High · CVSS 8.1EPSS 21.64%In KEVFix available

    Potential RCE with a compromised security key in craft/cms

    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.

    • Update to 4.13.8
    • Update to 5.5.8
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →