CVE-2026-31857 | Craft CMS up to 4.17.3/5.9.8 getElementIds code injection (GHSA-fp5j-j7j4-mcxc)
A vulnerability classified as critical was found in Craft CMS up to 4.17.3/5.9.8. This affects the function BaseElementSelectConditionRule::getElementIds. The manipulation results in code injection.
This vulnerability is known as CVE-2026-31857. It is possible to launch the attack remotely. No exploit is available.
Upgrading the affected component is advised.