Changeset 3445051
- Timestamp:
- 01/22/2026 05:27:43 PM (2 months ago)
- Location:
- zionbuilder/trunk
- Files:
-
- 3 edited
-
includes/Elements/Element.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
zionbuilder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zionbuilder/trunk/includes/Elements/Element.php
r3443423 r3445051 865 865 } 866 866 867 $wrapper_tag = $this->get_wrapper_tag($this->options); 867 // Make sure the wrapper tag is actually a tag and not exploitable with xss attacks 868 $wrapper_tag = wp_kses_post($this->get_wrapper_tag($this->options)); 869 $wrapper_tag = preg_replace('/[^a-zA-Z0-9]/', '', $wrapper_tag); 868 870 869 871 if ($this->render_attributes->has_attribute('wrapper', 'id')) { … … 879 881 // Render element 880 882 // The attributes are already escaped in RenderAttributes::get_attributes_as_string() 881 printf('<%s id="%s" %s>', esc_html($wrapper_tag), esc_attr($wrapper_id), $attributes); // phpcs:ignore WordPress.Security.EscapeOutput883 printf('<%s id="%s" %s>', $wrapper_tag, esc_attr($wrapper_id), $attributes); // phpcs:ignore WordPress.Security.EscapeOutput 882 884 883 885 // Render video background … … 887 889 // Render element 888 890 $this->render($this->options); 889 printf('</%s>', esc_html($wrapper_tag));891 printf('</%s>', $wrapper_tag); 890 892 891 893 $this->after_render($this->options); -
zionbuilder/trunk/readme.txt
r3443423 r3445051 4 4 Requires at least: 6.0.0 5 5 Tested up to: 6.9 6 Stable tag: 3.6.1 66 Stable tag: 3.6.17 7 7 Requires PHP: 7.0.0 8 8 License: GPLv3 or later … … 181 181 182 182 == Changelog == 183 = 3.6.17 = 184 Fixed: https://www.cve.org/CVERecord?id=CVE-2024-54213 185 183 186 = 3.6.16 = 184 187 Improved: Code changes required by WordPress coding standards and plugin requirements -
zionbuilder/trunk/zionbuilder.php
r3443423 r3445051 4 4 Plugin URI: https://zionbuilder.io/?utm_campaign=plugin-uri&utm_medium=wp-dashboard-plugins 5 5 Description: The page builder you always wanted. Create any design you want using live editor. 6 Version: 3.6.1 66 Version: 3.6.17 7 7 Author: zionbuilder.io 8 8 Author URI: https://zionbuilder.io/?utm_campaign=plugin-uri&utm_medium=wp-dashboard-plugins
Note: See TracChangeset
for help on using the changeset viewer.