unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.

Created on 10 September 2023, about 1 year ago

Problem/Motivation

unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.

Steps to reproduce

Run phpcs.

Proposed resolution

Use a safe format like JSON or use the allowed_classes option.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India vishal.kadam Mumbai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024