Language: PHP
Label: vulnerable
CWE: CWE-862 \u2014 Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Code:
            foreach ($printColumns as $field => $label) {
                $value = $gridFieldColumnsComponent
                    ? strip_tags($gridFieldColumnsComponent->getColumnContent($gridField, $item, $field))
                    : $gridField->getDataFieldValue($item, $field);

                $itemRow->push(new ArrayData([
                    "CellString" => $value,
                ]));
            }