A stored cross-site scripting (XSS) vulnerability exists in Craft CMS control panel where an element's draft name is rendered without proper HTML encoding. A low-privilege user who can create drafts can inject JavaScript payloads into the draft name, which execute in the browsers of higher-privileged users viewing the draft's chip or card. This allows the attacker to execute arbitrary JavaScript in the victim's authenticated control panel session, potentially taking over the control panel by performing admin-only actions via the victim's session.
PHP_CodeSniffer versions prior to 3.13.6 and 4.0.2 contain a command injection vulnerability in the code generating Gitblame, Hgblame, and Svnblame report formats. This vulnerability allows attacker-controlled shell commands to be executed if a file name contains shell metacharacters and is processed by these blame report formats. Users running default or other non-blame reports, or on platforms that disallow such filenames, are not affected. The issue is fixed in versions 3.13.6 and 4.0.2.
Craft CMS contains a vulnerability that allows any authenticated user to change their own password without providing the current password or having an elevated session. Additionally, users with the 'Edit users' permission can change other users' passwords, including administrators, despite lacking the 'Administrate users' permission. This flaw exists due to improper validation in the user password update process, bypassing intended security checks.
Craft CMS contains an authenticated remote code execution (RCE) vulnerability via the Twig sandbox escape mechanism. The vulnerability arises because the Twig sandbox's allowlisting permits dangerous functionality from the Yii framework, specifically through a function-call gadget in yii\base\Component. An authenticated user with control panel access can exploit this by rendering a malicious Twig template, bypassing sandbox protections. This affects Craft CMS versions from 4.0.0-RC1 up to but not including 4.18.3, and 5.0.0-RC1 up to but not including 5.10.7. A patch is available to remediate this issue.
Craft CMS contains an authenticated remote code execution vulnerability in its control panel element-search condition handling. The flaw arises because the JSON string in the 'condition.config' parameter bypasses the intended configuration cleansing, allowing Yii behavior/event configuration injection. Exploitation requires an authenticated control panel session and a valid CSRF token. Successful exploitation can lead to command execution as the PHP/web user, exposing secrets, database credentials, and enabling site content modification or further internal pivoting.
The league/commonmark library's XmlRenderer component can cause a denial of service via excessive memory and output size when rendering deeply nested XML. This occurs because indentation whitespace grows quadratically with the depth of the XML tree, which can be triggered by deeply nested Markdown blockquotes or attacker-influenced ASTs. The vulnerability affects all 2.x versions from 2.0.0 up to but not including 2.9.0. There is no impact on confidentiality or integrity, only availability due to resource exhaustion. Mitigations include lowering the parser's max_nesting_level, capping input size, constraining XML consumers, or preferring HTML rendering for untrusted content. A patch is available.
A denial of service vulnerability exists in league/commonmark versions 2.0.0 through 2.8.x due to a quadratic algorithmic complexity in the UniqueSlugNormalizer::normalize() function. This function restarts its search for unique slug suffixes from 1 on every collision, causing O(K²) CPU cost for K colliding slugs. The issue affects processing of headings and footnotes when certain extensions are enabled, allowing an attacker to cause significant CPU consumption and service disruption without authentication. Workarounds include disabling slug uniqueness or affected extensions, but upgrading to a patched release is recommended.
A denial of service vulnerability exists in the Footnote extension of league/commonmark from version 1.5.0 up to but not including 2.9.0. The vulnerability arises because the extension appends the entire list of backreferences for every footnote definition without deduplication, causing quadratic growth in output size, parse time, and memory usage when duplicate footnote definitions are present. An unauthenticated attacker can exploit this by submitting a crafted document that expands a small input (~10 KB) into a very large output (~62 MB) and high memory consumption (~440 MB), potentially causing a PHP worker to be killed due to out-of-memory conditions. This impacts availability only, with no confidentiality or integrity effects. The Footnote extension must be enabled for the vulnerability to be exploitable.
A denial of service vulnerability exists in league/commonmark when the Attributes extension is enabled. The vulnerability arises from a quadratic time complexity in resolving adjacent inline attribute blocks at the start of a block, causing excessive CPU usage. An unauthenticated attacker can exploit this by submitting crafted input that triggers long processing times, impacting availability. This affects all versions from 1.5.0 up to but not including 2.9.0. A patch is available to address this issue.
Silverstripe CMS versions prior to 6.2.1 have a cross-site scripting (XSS) vulnerability in the page breadcrumbs feature within the CMS page list view. This occurs because page titles are rendered into the breadcrumb trail without proper escaping. The vulnerability is fixed in version 6.2.1.
Contao versions 5.7.0 through 5.7.6 contain a path traversal vulnerability in the job attachment download endpoint. An authenticated backend user with access to one job can manipulate the attachment identifier to read files from other job directories within the job attachments storage. This occurs because the system canonicalizes the combined path but does not enforce that the resolved path remains within the authorized job directory. The vulnerability allows reading of attachments such as CSV logs from other jobs if the attacker knows the target job UUID and attachment filename.
Contao's crawler has a vulnerability where authentication credentials configured for HTTP Basic or Bearer authentication can be leaked to external hosts during crawling. This occurs because the crawler's cleaning function removes incorrect option keys instead of the actual Symfony HttpClient authentication keys, causing credentials to be sent with requests to external URLs. An attacker can exploit this by causing the crawler to visit a malicious external URL, thereby receiving the crawler's credentials. The vulnerability affects Contao versions from 4.13.0 up to but not including 5.3.47, and from 5.4.0 up to but not including 5.7.7. A patch is available to fix the issue by properly stripping the correct authentication options.
Statamic CMS versions prior to 5.74.3 and 6.24.2 contain a cross-site scripting (XSS) vulnerability in the default form notification email feature. This vulnerability allows an unauthenticated attacker submitting a form to inject HTML into notification emails sent to recipients. The issue arises because user-submitted values are rendered without proper escaping. Fixed versions 5.74.3 and 6.24.2 address this vulnerability.
Statamic CMS versions prior to 5.74.3 and 6.24.2 allowed unauthenticated users to upload file types via public frontend forms that were not properly restricted, bypassing the Control Panel's file upload restrictions. Although executable file types like .php and .html were blocked by a global allowlist, other disallowed file types could be uploaded and stored on a publicly accessible disk. This vulnerability is fixed in versions 5.74.3 and 6.24.2.
Statamic CMS versions prior to 5.74.1 and 6.24.0 contain an authorization bypass vulnerability allowing authenticated Control Panel users to view content from entries they do not have permission to access, including unpublished entries. The vulnerability does not allow modification of data. This issue is fixed in versions 5.74.1 and 6.24.0.
Statamic CMS versions prior to 5.74.1 and 6.24.0 contain a vulnerability where user-supplied input incorporated into Antlers templates can lead to unsafe reflection. This flaw allows unauthenticated attackers to manipulate templates, potentially causing loss of content and assets. The vulnerability is fixed in versions 5.74.1 and 6.24.0.
Statamic CMS versions prior to 5.74.1 and 6.24.0 contain an improper authentication vulnerability when OAuth login is enabled with providers that do not guarantee verified email addresses. This flaw allows an unauthenticated attacker to sign in as an existing user, including potentially a super admin, without knowing the user's password. The vulnerability arises because the application matches OAuth identities to user accounts solely by email address. This issue is fixed in versions 5.74.1 and 6.24.0.
Statamic CMS versions prior to 5.74.1 and 6.24.0 contain a vulnerability where an authenticated Control Panel user can verify the existence of an email address via a user creation wizard endpoint without having permission to view users. This exposure is limited to user existence information and does not disclose other user data. The issue is fixed in versions 5.74.1 and 6.24.0.
## Summary
The `sendPasswordResetEmail` mutation in WPGraphQL is explicitly designed to prevent user enumeration. The resolver in `src/Mutation/SendPasswordResetEmail.php` states in a code comment:
`// We obsfucate the actual success of this mutation to prevent user enumeration.`
The mutation always returns `success: true` regardless of whether the supplied username/email belongs to an existing user. The intended public output field is only `success: Boolean`.
However, a deprecated `user` field is still registered on the `SendPasswordResetEmailPayload` output type in `src/Deprecated.php` (lines 433-450). This deprecated field resolves to a full `User` object when the supplied username/email corresponds to an existing author-class user, and `null` otherwise — completely undermining the anti-enumeration design.
The `@todo remove in 3.0.0` comment acknowledges the field is scheduled for removal, but it remains active in all 2.x releases, including current 2.14.1.
Discovered via source code review on May 29, 2026.
## Details
The mutation resolver in `src/Mutation/SendPasswordResetEmail.php`:
```php
$payload = ['success' => true, 'id' => null];
$user_data = self::get_user_data($input['username']);
if (!$user_data) {
graphql_debug(...);
return $payload; // id stays null
}
// ...send email, then...
return ['id' => $user_data->ID, 'success' => true];
```
The intended public output field is only `success`. The `id` is internal-only state for downstream resolvers.
`src/Deprecated.php` registers an additional `user` field on the same payload type:
```php
register_graphql_field(
'SendPasswordResetEmailPayload',
'user',
[
'type' => 'User',
'deprecationReason' => static function () { return __('This field will be removed...'); },
'resolve' => static function ($payload, $args, AppContext $context) {
return !empty($payload['id'])
? $context->get_loader('user')->load_deferred($payload['id'])
: null;
},
],
);
```
This field reads the internal `$payload['id']` and resolves it through the standard user loader. The User Model's `allowed_restricted_fields` policy permits unauthenticated reads of public author fields (`databaseId`, `name`, `firstName`, `lastName`, `slug`, `description`, `uri`, `url`).
## PoC
```graphql
mutation EnumerateUser {
sendPasswordResetEmail(input: { username: "victim@example.com" }) {
success
user {
databaseId
name
firstName
lastName
slug
description
uri
}
}
}
```
Behavior:
- Non-existing user/email → `data.sendPasswordResetEmail.user` is `null`
- - Existing author-class user → `data.sendPasswordResetEmail.user` is a full User object with the listed fields populated
- - `success` always returns `true`, preserving the appearance of obfuscation — the deprecated `user` field is the leak
## Impact
1. **Username/email enumeration:** unauthenticated attacker can verify whether any username or email is registered, with no WPGraphQL-side rate limiting
2. 2. **Profile disclosure for author-class users:** for any user with published posts (including editors and administrators), the attacker obtains `databaseId`, `name`, `firstName`, `lastName`, `slug`, `description` (user bio), `uri` — substantially more than mere existence
3. 3. **Bypasses partial hardening:** sites that disabled the REST API user endpoint, the user XML sitemap, and `?author=N` author redirects may still be vulnerable through this WPGraphQL path
4. 4. **Spearphishing setup:** firstName/lastName/description for authors provides personalized phishing material
## Recommended fix
Either remove the deprecated `user` field entirely (advance the existing `@todo remove in 3.0.0`) or change the resolver to always return `null`:
```diff
'resolve' => static function ($payload, $args, AppContext $context) {
- return !empty($payload['id']) ? $context->get_loader('user')->load_deferred($payload['id']) : null;
- + // Always null — this deprecated field previously leaked user existence,
- + // undermining the anti-enumeration design of the sendPasswordResetEmail mutation.
- + return null;
- },
- ```
Defense in depth — change the mutation resolver itself to not populate `$payload['id']` on real success:
```diff
return [
- 'id' => $user_data->ID,
- + 'id' => null,
- 'success' => true,
- ];
- ```
Luke Granto — independent security researcher operating in good faith. Discovery via source code review of wp-graphql/wp-graphql v2.14.1, approximately 15 minutes from `git clone` to confirmed bug. No live exploitation against any third-party deployment.
REDAXO is a PHP-based content management system. From 5.18.2 until 5.21.1, rex_mediapool::isAllowedExtension in redaxo/src/addons/mediapool/lib/mediapool.php lets an authenticated backend user with media[upload] permission upload a JPEG/PHP polyglot named shell.php.any.jpg, which web servers with multi-extension PHP handlers can execute as the web-server user. This issue is fixed in version 5.21.1.