Description
The Sky Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `sky-custom-scripts` custom post type in all versions up to, and including, 3.3.2. This is due to the custom post type being registered with `capability_type => 'post'` and `show_in_rest => true`, combined with insufficient input sanitization on the `sky_script_content` meta field and lack of output escaping when rendering scripts on the frontend. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts via the REST API that execute on every frontend page for all site visitors.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-04-29: | Vendor Notified |
| 2026-05-07: | Disclosed |
Credits
Athiwat Tiprasaharn
References
www.wordfence.com/...-549e-4803-aa17-d1317a606e7a?source=cve
plugins.trac.wordpress.org/.../class-custom-scripts-data.php
plugins.trac.wordpress.org/...lass-custom-scripts-loader.php
plugins.trac.wordpress.org/.../class-custom-scripts-data.php
plugins.trac.wordpress.org/.../class-custom-scripts-data.php
plugins.trac.wordpress.org/...lass-custom-scripts-loader.php
plugins.trac.wordpress.org/...%2Ftrunk&sfp_email=&sfph_mail=