Server overload & crash in Classic Editor when editing posts
-
We have identified the exact root cause of severe server crashes when editing posts in the Classic Editor, backed by our server access logs.
Issue Summary:
When opening any post edit screen (wp-admin/post.php), Shortcodes Ultimate attempts to load SVG icons for its UI (/wp-content/plugins/shortcodes-ultimate/admin/images/shortcodes/svgs/). However, the asset URLs are being recursively URL-encoded (e.g., %252525252525…), leading to malformed URLs.Impact & Log Evidence:
Each corrupted SVG request triggers a 301 Moved Permanently redirect back to the post edit URL.
This creates an infinite HTTP request loop for dozens of SVG files simultaneously upon opening the editor.
The resulting request storm instantly exhausts server CPU, RAM, and PHP worker processes, bringing down the entire website.
Log Snippet:
Plaintext
“GET /wp-content/plugins/shortcodes-ultimate/admin/images/shortcodes/svgs/csv_table.svg%25252525252525… HTTP/1.0” 301 0 “……../wp-admin/post.php?post=35465&action=edit”
“GET /wp-content/plugins/shortcodes-ultimate/admin/images/shortcodes/svgs/spoiler.svg%25252525252525… HTTP/1.0” 301 0 “………../wp-admin/post.php?post=35465&action=edit”
Required Fix:
Please inspect the URL escaping/sanitization function used to generate admin SVG icon paths in wp-admin to prevent multiple/recursive urlencode() calls and eliminate the 301 redirect loop.Thank you!
You must be logged in to reply to this topic.