Intel

AIKIDO-2025-10916

craftcms/cms is vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere

Exposure of Sensitive System Information to an Unauthorized Control SphereGHSA-53vf-c43h-j2x9 Published Dec 10, 2025

20

Low Risk

This Affects:

PHPcraftcms/cms
4.0.0 - 4.16.16
Fixed in 4.16.17
5.0.0 - 5.8.20
Fixed in 5.8.21
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Information Disclosure, where the 'photoId' attribute was improperly included in the safe attributes list, allowing attackers to exploit mass assignment mechanisms to read or manipulate photo identifiers, potentially leading to unauthorized access to sensitive image data. The patch resolves this by explicitly removing 'photoId' from the safe attributes array using ArrayHelper::withoutValue.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

craftcms/cms is vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere in versions 5.0.0 - 5.8.20 and 4.0.0 - 4.16.16.

How to fix this

Upgrade the craftcms/cms library to the patch version.