### Summary
An authenticated path traversal in `assets/icon` allows local SVG file read by passing traversal sequences in the `extension` parameter. The issue is caused by file existence checks happening before extension validation.
### Details
The endpoint:
- `src/controllers/AssetsController.php:1115-1123`
- `actionIcon(string $extension)` calls `Assets::iconPath($extension)` and returns `sendFile($path, ...)`.
In `Assets::iconPath()`:
- Path is built from user-controlled `extension`:
- `src/helpers/Assets.php:906-909`
- If `file_exists($path)` is true, path is returned immediately:
- `src/helpers/Assets.php:910-912`
Validation exists in `Assets::iconSvg()`:
- `preg_match('/^\w+$/', $extension)`
- `src/helpers/Assets.php:927-931`
However, that validation is only reached if `iconPath()` does **not** find a file.
So traversal payloads that resolve to existing `.svg` files bypass validation and are served by `sendFile()`.
### Impact
- Authenticated users can read local .svg files accessible to the application process.
### References
- https://github.com/craftcms/cms/commit/30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c
Grav CMS versions up to 2.0.0-rc.9 contain a stored CSS injection vulnerability via the Markdown image resize() media action. This flaw allows a lower-privileged content editor to inject crafted CSS into image style attributes, which are then rendered when viewed by higher-privileged users. The vulnerability enables UI redress and content manipulation attacks without requiring JavaScript execution. The issue is fixed in Grav 2.0.0.
The Webauthn library's SimpleFakeCredentialGenerator, when instantiated without a secret, produces predictable fake credentials based solely on the username. This predictability allows attackers to distinguish between real and fake usernames, defeating the intended username enumeration protection. The issue affects versions from 4.9.0 up to but not including 5.3.5. The default Symfony bundle configuration is not affected as it injects a non-empty secret. The vulnerability is considered low severity since it only re-enables username enumeration and does not affect the validity of responses.
### Summary
A user with Control Panel access but without permission to view a target private asset can call `assets/preview-thumb` and receive preview HTML that contains a signed fallback transform link for that private asset.
### Details
Root-cause analysis:
1. The endpoint accepts an attacker-controlled `assetId`.
2. Asset is resolved, and thumbnail HTML is returned.
3. No explicit asset-view permission check is performed before preview generation.
### Impact
Type:
1. Missing authorization
2. Unauthorized preview-link disclosure
Affected deployments:
1. Craft sites with control panel users who have partial permissions and private assets.
Security consequence:
1. A control panel user without asset-view permission can still obtain signed preview transform link data for private assets.
2. This may increase private asset exposure risk depending on deployment and endpoint chaining.
## Resources
https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27
Formie versions 3.0.0-beta.1 through 3.1.26 for Craft 5 contain a server-side template injection vulnerability in Hidden fields that use request-derived default values. An unauthenticated attacker can supply Twig syntax in HTTP headers, query parameters, cookies, or URLs, which gets evaluated by Twig during form rendering. This can lead to sensitive data disclosure, application state modification, or remote code execution depending on the site configuration. The issue is fixed in Formie 3.1.27.
A vulnerability in Craft CMS up to version 4.18.0.1 allows non-admin control panel users to reorder Global Sets without proper authorization. This authorization bypass affects the actionReorderSets function in the GlobalsController.php file. The issue can be exploited remotely and is addressed by upgrading to version 4.18.1.
The `reorder-sets` action in Craft CMS’s `GlobalsController` is missing the `requireAdmin()` check that the adjacent `save-set` and `delete-set` actions both enforce. Any authenticated control panel user can POST to `/actions/globals/reorder-sets` and permanently reorder all global sets in the project config, regardless of whether they have admin access. The reordering is written through to the project config and persists across requests.
## Description
`GlobalsController` exposes three administrative actions for managing global set structure. Two of them gate on admin status; the third does not.
## Prerequisites
- A Craft CMS instance with at least two global sets and a non-admin control panel user account.
## Impact
A non-admin control panel user can reorder all global sets. While this does not expose or modify content, reordering global sets modifies the project config -- a versioned artifact that is typically committed to source control and deployed across environments. An attacker can create noise in the project config history, trigger config-sync conflicts, or manipulate the display order seen by all editors in the admin panel. The same non-admin user cannot create or delete global sets because those actions correctly enforce `requireAdmin()`.
SimpleSAMLphp versions prior to 2.4.7 and from 2.5.0 up to but not including 2.5.2 have a vulnerability in the SAML SP Assertion Consumer Service (ACS) path. The SP does not enforce that the Identity Provider (IdP) responding matches the expected IdP stored in the SP state, allowing a response from an unexpected IdP to be accepted. This issue is exacerbated when an unsigned Response element's InResponseTo attribute is accepted outside the signed assertion, enabling a response from one trusted IdP to be bound to SP state created for another IdP. This can lead to authentication and authorization bypass in multi-IdP deployments where different IdPs have different trust levels or attribute namespaces.
### Summary
Kimai 2.56.0 contains an authenticated improper authorization / IDOR vulnerability in the favorite timesheet add and remove endpoints. A low-privileged user who knows another user's `timesheet.id` can add that record to, or remove it from, the victim's `favorite/recent` bookmark list. This allows cross-user manipulation of per-user favorite state without administrative privileges.
### Details
The issue affects the following routes:
- `GET /en/favorite/timesheet/add/{id}`
- `GET /en/favorite/timesheet/remove/{id}`
Both endpoints accept a user-controlled timesheet identifier and only require the caller to hold the generic `start_own_timesheet` permission. They do not verify that the referenced `Timesheet` object belongs to the currently authenticated user.
- In `src/Controller/FavoriteController.php`, the controller methods accept a `Timesheet` object directly and forward it to the favorite service.
- The root cause becomes more obvious in `src/Timesheet/FavoriteRecordService.php`. The bookmark owner is derived from `$timesheet->getUser()` instead of the current session user.
- Because of this design, any authenticated user who can reference another user's timesheet ID can modify the victim's `favorite/recent` bookmark data.
*A PoC was provided, but removed for security reasons.*
### Impact
This vulnerability allows any authenticated low-privileged user to manipulate another user's favorite bookmark state across accounts. An attacker can inject arbitrary victim-owned timesheet entries into the victim's quick-entry workflow, remove existing favorites, and repeatedly disturb the victim's normal timesheet usage without needing administrative privileges.
The issue does not directly disclose sensitive data, but it is a real cross-user business-state tampering vulnerability with clear integrity impact. Because the add and remove endpoints can be combined, an attacker can reliably insert, remove, and reorder entries in another user's `favorite/recent` list.
SimpleSAMLphp's SAML2 library is vulnerable to a Denial-of-Service (DoS) attack via XPath transforms. The vulnerability allows attackers to send crafted messages that cause resource exhaustion. A mitigation restricts the number and type of transforms, specifically disallowing XPath transforms. Fixed versions 4.19.3 and 4.20.3 address this issue.
SimpleSAMLphp versions prior to 6.2.1, 5.0.6, 4.20.2, and 4.19.3 contain a vulnerability in the HTTP-Artifact receive path where an unsigned embedded SAML Response can be incorrectly validated for the wrong identity provider (IdP). This allows a malicious or lower-trust IdP within the same federation to authenticate to a service provider (SP) as users from a higher-trust victim IdP, effectively bypassing authentication and impersonating identities. The flaw arises because the signature validation delegates to a TLS validator that can incorrectly succeed when keys do not match, leading to acceptance of forged assertions. This is a high severity authentication bypass and identity impersonation vulnerability.
## Summary
The `Mysqls.add` API command (`lib/Froxlor/Api/Commands/Mysqls.php`) accepts a customer-controlled `mysql_server` parameter and only validates that the value is numeric and that the server index exists in `userdata.inc.php`. It never checks the value against the calling customer's `allowed_mysqlserver` allowlist. A customer can therefore create a database, plus a MySQL user with a password they choose, on any MySQL server the operator has configured — including servers that were explicitly excluded from that customer (e.g. a separate cluster, premium-tier host, or another tenant pool). The same `allowed_mysqlserver` check is correctly enforced in `MysqlServer::get()` / `MysqlServer::listing()` and in the customer-facing UI (`customer_mysql.php`), confirming the omission is a bug, not by-design.
## Details
**Vulnerable code path** — `lib/Froxlor/Api/Commands/Mysqls.php:69-99` (`add()`):
```php
public function add()
{
if (($this->getUserDetail('mysqls_used') < $this->getUserDetail('mysqls') || ...) {
...
$customer = $this->getCustomerData('mysqls'); // line 80
$dbserver = $this->getParam('mysql_server', true, // line 81 — user-controlled
$this->getDefaultMySqlServer($customer));
...
$dbserver = Validate::validate($dbserver, ..., '/^[0-9]+$/', ...); // line 92 — numeric only
Database::needRoot(true, $dbserver, false); // line 93 — root ctx for ANY index
Database::needSqlData();
$sql_root = Database::getSqlData();
Database::needRoot(false);
if (!is_array($sql_root)) { // line 97 — only existence check
throw new Exception("Database server with index #" . $dbserver . " is unknown", 404);
}
...
$username = $dbm->createDatabase($newdb_params['loginname'], $password,
$dbserver, ...); // line 116/118 — DB+user created
...
Database::pexecute($stmt, ["customerid"=>$customer['customerid'], ..., "dbserver"=>$dbserver], ...);
}
}
```
The `$customer['allowed_mysqlserver']` field IS read on line 80 but is only consumed by `getDefaultMySqlServer()` (lines 566-573) to compute a default when the request omits `mysql_server`. As soon as the client supplies the parameter, the default path is skipped and no further authorization gate runs.
**Cross-file evidence the check is intended elsewhere:**
- `lib/Froxlor/Api/Commands/MysqlServer.php:319-323` — `get()` rejects with HTTP 405 when `$dbserver` is not in `allowed_mysqlserver`:
```php
if ($this->isAdmin() == false) {
$allowed_mysqls = json_decode($this->getUserDetail('allowed_mysqlserver'), true);
if ($allowed_mysqls === false || empty($allowed_mysqls) || !in_array($dbserver, $allowed_mysqls)) {
throw new Exception("You cannot access this resource", 405);
}
...
}
```
- `lib/Froxlor/Api/Commands/MysqlServer.php:252-257` — same allowlist filter on `listing()`.
- `customer_mysql.php:222` — UI rejects with `Response::dynamicError('No permission')` when `empty($allowed_mysqlservers)`.
**Chain of execution (attacker → impact):**
1. Customer authenticates to `api.php` with apikey/secret. The only API gate is `cust_api_allowed`; `allowed_mysqlserver` is not consulted at auth time.
2. Customer sends JSON `{"command":"Mysqls.add","params":{"mysql_password":"<valid>","mysql_server":<disallowed_idx>}}`.
3. `Mysqls.php:71` quota check passes (`mysqls_used < mysqls`).
4. `Mysqls.php:80` `getCustomerData('mysqls')` returns the caller's own row.
5. `Mysqls.php:81` `$dbserver` is set from the request (default-fallback path skipped).
6. `Mysqls.php:92` numeric regex passes.
7. `Mysqls.php:93-99` `Database::needRoot(true, $dbserver, false)` switches to the root context of the attacker-chosen server; existence check passes.
8. `Mysqls.php:116/118` `DbManager::createDatabase(...)` runs against the disallowed server using stored root credentials, creating the DB and granting the supplied password to `<loginname>_<sqlN>` (DbManager.php:177-218).
9. `Mysqls.php:127-141` inserts a row into `TABLE_PANEL_DATABASES` with the attacker's `customerid` and the disallowed `dbserver`, allowing later management via `Mysqls.get/update/delete` (which only filter by `customerid` for non-admins, e.g. `Mysqls.php:282`).
## PoC
Preconditions on the target instance:
- ≥2 MySQL servers configured in `lib/userdata.inc.php` (e.g. index 0 default, index 1 internal/premium).
- Customer X with `allowed_mysqlserver=[0]`, `cust_api_allowed=1`, `mysqls > 0`, and an issued API key (`apikey:secret`).
Request — customer creates a database on server `1`, which is *not* in their allowlist:
```bash
curl -k -u 'CUST_APIKEY:CUST_SECRET' \
-H 'Content-Type: application/json' \
-X POST \
-d '{"command":"Mysqls.add","params":{"mysql_password":"ValidP@ssw0
## Summary
An authenticated customer can read other customers' allowed sender aliases from Froxlor's sender-delete confirmation page when `mail.enable_allow_sender` is enabled. `customer_email.php` loads `allowed_sender` by global auto-increment `senderid` alone, so a customer can enumerate foreign sender alias IDs and make Froxlor disclose those values in the confirmation dialog for the attacker's own mailbox.
## Details
The vulnerable read lives in `customer_email.php`:
```php
$senderid = Request::any('senderid', 0);
...
$sel_stmt = Database::prepare("SELECT `allowed_sender` FROM `" . TABLE_MAIL_SENDER_ALIAS . "` WHERE `id` = :sid");
$sender_data = Database::pexecute_first($sel_stmt, ['sid' => $senderid]);
HTML::askYesNo('email_reallydelete_sender', $filename, [
'id' => $id,
'senderid' => $senderid,
'page' => $page,
'domainid' => $email_domainid,
'action' => $action
], $idna_convert->decode($result['email_full']) . ' -> ' . $sender_data['allowed_sender']);
```
The query does not scope `senderid` to the current customer or to the mailbox being edited. `mail_sender_aliases.id` is a global `AUTO_INCREMENT` primary key:
```sql
CREATE TABLE `mail_sender_aliases` (
`id` int(11) NOT NULL auto_increment,
`email` varchar(255) NOT NULL,
`allowed_sender` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
)
```
That makes sender alias IDs enumerable. A customer who owns any mailbox with sender-alias management enabled can request the delete-confirmation page for their own mailbox while supplying foreign `senderid` values. Froxlor then renders the foreign `allowed_sender` string in the confirmation prompt.
## Proof of Concept
Verified against Froxlor `2.3.6` on a fresh test install with `mail.enable_allow_sender=1`.
1. Create two customers, `victim` and `attacker`.
2. Give each customer one mailbox.
3. Add a sender alias for the victim mailbox:
```text
info@victim.local -> leaked-sender@example.org
```
4. Log in as the attacker and request the delete-confirmation page for the attacker's own mailbox while supplying the victim's sender alias ID:
```text
/customer_email.php?page=senders&domainid=4&action=delete&id=2&senderid=1
```
Observed in the live test instance:
```text
Do you really want to delete the allowed sender info@attacker.local -> leaked-sender@example.org?
```
The attacker-controlled mailbox identifier stayed `info@attacker.local`, but the disclosed sender alias text came from the victim-owned row identified by `senderid=1`.
## Impact
An authenticated customer can enumerate global sender alias IDs and read other customers' allowed sender values. This is a cross-tenant information disclosure. It does not let the attacker delete the foreign alias because the delete action revalidates ownership.
## Recommended Fix
Scope the sender alias lookup to the current customer and mailbox before rendering the confirmation page. The confirmation flow should fetch the sender alias through the same ownership checks used by `EmailSender::delete()`.
---
*Found by [aisafe.io](https://aisafe.io)*
A stored cross-site scripting (XSS) vulnerability exists in the mediawiki/maps extension through the overlays parameter of the display_map parser function when using the leaflet service. This flaw allows malicious HTML injection because overlay names are not properly escaped before being passed to leaflet, which inserts them as HTML. Any user with edit permissions can exploit this vulnerability. The issue affects versions prior to 12.1.3 and has been assigned CVE-2026-52854. A fix is available in version 12.1.3.
## Summary
The API Platform serializer's `AbstractItemNormalizer` does not validate the resource type returned when resolving relation IRIs, allowing type confusion where a resource of an unintended type can be silently assigned to a relation property.
## Impact
An attacker who can submit write requests (POST/PUT/PATCH) to an API Platform endpoint with writable relations can supply a relation IRI pointing to a resource of a different type than the relation's declared class. Because `getResourceFromIri()` does not pass an `$operation` to `IriConverter::getResourceFromIri()`, the `is_a` type guard at `IriConverter.php:86` is skipped. For untyped relation properties (legacy `@var`-only style), the wrong-typed object is silently assigned, corrupting invariants and potentially feeding downstream logic that assumes the declared type (CWE-843). For typed properties (modern PHP 8.x), the substitution is blocked by Symfony's PropertyAccessor with an `InvalidTypeException`.
## Affected versions
- `api-platform/core` `< 4.1.30`
- `api-platform/core` `>= 4.2.0, < 4.2.26`
- `api-platform/core` `>= 4.3.0, < 4.3.12`
Older major series (`2.x`, `3.x`) ship the same vulnerable code path and are end-of-life; no fix is planned.
## Patched versions
- `4.1.30`
- `4.2.26`
- `4.3.12`
## Fix
An `is_a` guard is added inside `AbstractItemNormalizer::getResourceFromIri()` (and the equivalent inline call sites on 4.1) so that a mismatched IRI throws `InvalidArgumentException`, mirroring the operation-aware check the `IriConverter` already performs when an operation is supplied. This forces a `400 Bad Request` response for cross-type IRIs instead of a silent assignment.
## Workarounds
Declare a PHP type on every writable relation property (e.g. `public ?Foo $relation = null;` instead of `@var Foo $relation`). Symfony's `PropertyAccessor` will then reject a mismatched object with `InvalidTypeException`. This does not cover collections of mixed-type interfaces; upgrading to a patched version is the only complete fix.
## Proof of concept
A functional test posts a `Bar` IRI to a `Foo`-declared relation on an untyped property. Without the fix the server responds with `HTTP 201` and the Bar IRI appears in the response payload. With the fix the server responds with `HTTP 400` (`Invalid IRI "/bars/1"`).
Full PoC: `tests/Functional/Security/TypeConfusionRelationIriTest.php` in the patched branches.
## References
- `src/Serializer/AbstractItemNormalizer.php` — vulnerable relation IRI load
- `src/Symfony/Routing/IriConverter.php` — conditional `is_a` guard (operation-aware path)
## Credit
Reported by @alexandre-daubois.
Paymenter before version 1.5.5 contains a race condition in the payWithCredit() function where a database row lock is attempted without an active transaction. This allows concurrent payment requests to read the same credit balance simultaneously, enabling users to double-spend their credit balance across multiple invoices. The issue leads to financial loss as multiple invoices can be paid with the same credit balance. No patch is explicitly provided in the data.
CVE-2026-48808 is a vulnerability in the Twig templating engine affecting sandboxing enabled via SourcePolicyInterface. It allows a template author with the 'column' filter in their allowedFilters list to bypass the property allowlist and read any public or magic property of objects in the render context. This bypass occurs because the sandbox state is not correctly forwarded during property checks, causing the allowlist to be ignored. The issue is fixed in Twig version 3.27.0.
CVE-2026-48807 is a sandbox bypass vulnerability in Twig prior to version 3.27.0. It allows sandboxed template authors with permission to use the join, replace filters or the in/not in operators to trigger disallowed __toString() method calls on objects, bypassing the sandbox security policy. This occurs because Traversable objects inside these filters were not properly checked by the policy, allowing string coercion without authorization. The issue was fixed by extending policy checks to Traversable elements and operands in these contexts.
CVE-2026-48806 is a sandbox bypass vulnerability in Twig versions prior to 3.27.0. It allows sandboxed template authors to trigger the __toString() method on any object reachable in the render context by using the object as a dynamic mapping key, bypassing sandbox policy enforcement. This leads to unauthorized disclosure of data returned by __toString(). The issue was fixed in Twig 3.27.0 by properly marking dynamic mapping keys as string-coercion sites and enforcing sandbox policies before PHP coerces keys to strings.
A sandbox state regression vulnerability exists in deprecated internal wrappers in Twig versions prior to 3.27.0. The issue arises because the deprecated helper functions in src/Resources/core.php do not correctly forward the sandbox state, allowing certain sandbox restrictions to be bypassed or causing type errors in PHP 8+. Compiled templates are not affected. The vulnerability is fixed in Twig 3.27.0.