Skip to content

Commit 7290d91

Browse files
committed
Merge branch 'advisory/GHSA-5pgf-h923-m958' into 4.x
# Conflicts: # CHANGELOG.md
2 parents b2283d5 + 83fd398 commit 7290d91

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- The `PDO::MYSQL_ATTR_MULTI_STATEMENTS` attribute is no longer set by default for database connections. ([#18474](https://github.com/craftcms/cms/issues/18474))
66
- Fixed a [moderate-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) access control vulnerability. (GHSA-6mrr-q3pj-h53w)
7-
- Fixed a [moderate-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) information disclosure vulnerability. (GHSA-3pvf-vxrv-hh9c)
7+
- Fixed [moderate-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) information disclosure vulnerabilities. (GHSA-3pvf-vxrv-hh9c, GHSA-5pgf-h923-m958)
88

99
## 4.17.7 - 2026-02-24
1010

src/controllers/AssetsController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,7 @@ public function actionGenerateTransform(?int $transformId = null): Response
11491149
throw new ServerErrorHttpException('Image transform cannot be created.', previous: $e);
11501150
}
11511151
} else {
1152+
$this->requirePermission('accessCp');
11521153
$assetId = $this->request->getRequiredBodyParam('assetId');
11531154
$handle = $this->request->getRequiredBodyParam('handle');
11541155
if (!is_string($handle)) {

0 commit comments

Comments
 (0)