Skip to content
OpenAdvisories

Package · Packagist

craftcms/cms

127 known vulnerabilities.

72 results · Clear filters · Feed

  • Medium 6.4

    Craft CMS 5.0.0-RC1 before 5.10.8 Stored XSS via Draft Name

    Craft CMS versions before 5.10.8 contain a stored cross-site scripting vulnerability in the control panel where draft names are rendered without HTML encoding in element chips and cards. A low-privilege user who can create element drafts can inject malicious …

  • Medium 6.5

    Craft CMS 5.0.0-RC1 before 5.10.8 Authentication Bypass via Password Reset

    Craft CMS versions before 5.10.8 contain an authentication bypass vulnerability in the elements/save action that allows authenticated users to change passwords without verification. Attackers with edit users permission can reset any user's password including …

  • Medium 4.3

    Craft CMS before 5.10.6 Authorization Bypass via structures/move-element

    Craft CMS 5.0.0-RC1 through 5.10.5 contains an incorrect authorization vulnerability. A control-panel user holding only the viewCategories permission (without saveCategories) for a category group can permanently modify that group's category structure — reorde…

  • Medium 6.5

    Craft CMS 5.0.0-RC1 before 5.10.6 Environment Variable Leak

    Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 interpolate environment variables and secrets (via ${ENV_VAR} strings in the elementId parameter) into Twig templates before rendering, even when the Twig sandbox is enabled. An auth…

  • Medium 6.2

    Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained

    Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 contain a theoretical path traversal weakness in the ensurePathIsContained function of the Local file system class. The order of operations validates the path before normalization, s…

  • Medium 6.5

    Craft CMS before 5.10.5 WebAuthn Assertion Replay via login-with-passkey

    Craft CMS before 5.10.5 fails to persist updated credential counters after WebAuthn assertion validation in the passkey login endpoint. Attackers can replay captured login request bodies containing requestOptions and response to create additional authenticate…

  • Medium 4.5

    Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject

    Craft CMS 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.2 contain an arbitrary file read vulnerability. The create() Twig function restricts class instantiation using a 5-entry blocklist that does not include SplFileObject, allowing an authenticated admin…

  • Medium 4.3

    Craft CMS Charts Endpoint ChartsController.php actionGetNewUsersData improper authorization

    A flaw has been found in Craft CMS up to 4.18.0.1. Affected by this vulnerability is the function actionGetNewUsersData of the file src/controllers/ChartsController.php of the component Charts Endpoint. This manipulation of the argument userGroupId causes imp…

  • Medium 4.3

    Craft CMS reorder-sets Endpoint GlobalsController.php actionReorderSets authorization

    A vulnerability was detected in Craft CMS up to 4.18.0.1. Affected is the function actionReorderSets of the file src/controllers/GlobalsController.php of the component reorder-sets Endpoint. The manipulation results in authorization bypass. The attack can be …

  • Medium 4.9

    Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves

    Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 and above, prior to 5.9.21 and versions 4.0.0-RC1 and above prior to 4.17.14 contain an authorization issue where a forced folder move can delete a conflicting destination folder without desti…

  • Medium 6.0

    Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section save check

    Craft CMS is a content management system (CMS). In versions 5.0.0-RC1 and above prior to 5.9.21, the EntriesController::actionMoveToSection() endpoint gates the destination section only by viewEntries:$section->uid rather than requiring saveEntries permission…

  • Medium 6.0

    Craft CMS: Sensitive File Disclosure / Server-Side File Read

    Craft CMS is a content management system (CMS). In versions starting from 4.0.0-RC1 and prior to 4.18.0, and 5.0.0-RC1 and above, prior to 5.10.0, the dataUrl() Twig function is included in Craft’s Twig sandbox allowlist, allowing any control panel user grant…

  • Medium 6.9

    Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in actionResourceJs

    Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and 5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary JavaScript Injection through the /actions/app/resource-…

  • Medium 5.3

    Craft CMS: Unauthorized Deletion of Source Assets During File Replacement

    Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 through 5.9.20, and 4.0.0-RC1 through 4.17.13 contain an authorization issue in the AssetsController::actionReplaceFile that can delete a source asset without source delete permission by suppl…

  • Medium 5.9

    Craft CMS: Stored XSS via Structure entry title in table view

    Craft CMS is a content management system (CMS). In versions 5.0.0-RC1 through 5.9.22, an author-level control panel user can store a malicious JavaScript payload in an entry title. When an admin, or any control panel user with saveEntries for the same Structu…

  • Medium 6.5

    Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter

    Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences t…

  • Medium 4.8

    Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options

    Craft CMS 4.x (>= 4.0.0-RC1, < 4.17.0-beta.1) and 5.x (>= 5.0.0-RC1, < 5.9.0-beta.1) contain multiple stored cross-site scripting vulnerabilities where settings names and field option labels are rendered without sanitization (e.g., via the checkbox.twig templ…

  • Medium 4.3

    Craft CMS - Authorization Bypass in assets/preview-file Endpoint

    Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1, <= 4.17.7 contain an authorization bypass in the assets/preview-file endpoint. The action does not enforce per-asset view authorization before returning preview content, allowing an authenticated lo…

  • Medium 4.3

    Craft CMS - Missing Authorization in assets/preview-thumb Endpoint

    Craft CMS contains a missing authorization vulnerability in the assets/preview-thumb endpoint. A Control Panel user without permission to view a target private asset can call the endpoint with an attacker-controlled assetId and receive preview HTML containing…

  • Medium 4.8

    Craft CMS - Stored XSS in Table Field via Row Heading Column Type

    Craft CMS contains a stored cross-site scripting (XSS) vulnerability in the editableTable.twig component when using the 'Row Heading' column type. The application fails to sanitize input within row heading default values, allowing an attacker with an administ…

  • Medium 4.8

    Craft CMS - Stored XSS via User Group Name in User Permissions Page

    Craft CMS from version 5.0.0-RC1 contains a stored cross-site scripting vulnerability in the User Permissions page where user group names are rendered without proper HTML escaping. Attackers with admin access can inject arbitrary JavaScript via the user group…

  • Medium 5.5

    Craft CMS has a host header injection leading to SSRF via resource-js endpoint

    Craft CMS is a content management system (CMS). In versions on the 4.x branch through 4.17.8 and the 5.x branch through 5.9.14, the `resource-js` endpoint in Craft CMS allows unauthenticated requests to proxy remote JavaScript resources. When `trustedHosts` i…

  • Medium 5.5

    Craft CMS has Server-Side Request Forgery (SSRF) with Asset Uploads Mutations

    Craft CMS is a content management system (CMS). Versions on the 4.x branch through 4.17.8 and the 5.x branch through 5.9.14 are vulnerable to Server-Side Request Forgery. The exploitation requires a few permissions to be enabled in the used GraphQL schema: "E…

  • Medium 5.3

    Craft CMS has a Missing Authorization Check on User Group Removal via save-permissions Action

    Craft CMS is a content management system (CMS). In versions 5.6.0 through 5.9.14, the `actionSavePermissions()` endpoint allows a user with only `viewUsers` permission to remove arbitrary users from all user groups. While `_saveUserGroups()` enforces per-grou…

  • Medium 4.9

    Craft CMS: Authorization bypass in "entries/move-to-section" allows control panel user to move entries without section permissions

    Craft CMS is a content management system (CMS). From version 5.3.0 to before version 5.9.14, an authenticated control panel user with only accessCp can move entries across sections via POST /actions/entries/move-to-section, even when they do not have saveEntr…

  • Medium 6.9

    Craft CMS: Unauthenticated users could execute project configuration sync operations that should be restricted trusted users

    Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, guest users can access Config Sync updater index, obtain signed data, and execute state-changing Config Sync a…

  • Medium 4.9

    Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)

    Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, a low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitr…

  • Medium 5.3

    Craft CMS Vulnerable to Stored XSS in Revision Context Menu

    Craft CMS is a content management system (CMS). In versions 5.9.0-beta.1 through 5.9.10, the revision/draft context menu in the element editor renders the creator’s fullName as raw HTML due to the use of Template::raw() combined with Craft::t() string interpo…

  • Medium 5.3

    Craft CMS has a Path Traversal Vulnerability in AssetsController

    Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.5 and from version 5.0.0-RC1 to before version 5.9.11, the AssetsController->replaceFile() method has a targetFilename body parameter that is used unsanitized in a d…

  • Medium 6.9

    Craft has Reflective XSS via incomplete return URL sanitization

    Craft is a content management system (CMS). The fix for CVE-2025-35939 in craftcms/cms introduced a strip_tags() call in src/web/User.php to sanitize return URLs before they are stored in the session. However, strip_tags() only removes HTML tags (angle bracke…

  • Medium 6.9

    Craft has an unauthenticated activation email trigger with potential user enumeration

    Craft is a content management system (CMS). Prior to 5.9.0-beta.2 and 4.17.0-beta.2, the actionSendActivationEmail() endpoint is accessible to unauthenticated users and does not require a permission check for pending users. An attacker with no prior access ca…

  • Medium 5.3

    Craft has a Permission Bypass and IDOR in Duplicate Entry Action

    Craft is a content management system (CMS). Prior to 5.9.0-beta.1 and 4.17.0-beta.1, the "Duplicate" entry action does not properly verify if the user has permission to perform this action on the specific target elements. Even with only "View Entries" permiss…

  • Medium 5.7

    Cloud Metadata SSRF Protection Bypass via IPv6 Resolution

    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 uses `gethostbyname()`, which only resolves IPv4 addresses. When a hostname has only AAAA…

  • Medium 6.9

    Craft CMS's race condition in Token Service potentially allows for token usage greater than the token limit

    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 Time-of-Check-Time-of-Use (TOCTOU) race condition exists in Craft CMS’s token validation service for tokens that explicitly set a limited usage. …

  • Medium 5.9

    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 f…

  • Medium 4.8

    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 Tw…

  • Medium 6.9

    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, alternat…

  • Medium 6.9

    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 redi…

  • Medium 5.2

    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 …

  • Medium 5.0

    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 b…