On some Drupal 10 sites, a bug in the CKEditor 5 module could make an image upload move the entire webroot to a different place on the file system. A malicious user could use this to take the site down.
Who is affected
Sites on drupal/core 10.0.0 and later, below 10.2.10, that let users upload images through CKEditor 5. Drupal says several non-default site configurations must all be in place at once for this to happen, and its advisory does not list them. Drupal 10.3 and later are not affected, and neither is Drupal 7.
What to do
If you're on Drupal 10.2, update to 10.2.10. Drupal 10 releases before 10.2 no longer get security fixes, so sites on 10.0 or 10.1 should move to a supported release. See SA-CORE-2024-002.
Reported by Pierre Rudloff.