PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / trunk
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder vtrunk
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Services/FormBuilder/Components/CustomSubmitButton.php +2 -0 6.2.11 → trunk View file →
@@ -214,8 +214,10 @@
214 214 $buttonText = $data['settings']['btn_text'];
215 215 $html .= '<button ' . $atts . ' aria-label="' . esc_attr($this->removeShortcode($buttonText)) . '">' . fluentform_sanitize_html($buttonText) . '</button>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- $atts is escaped before being passed in.
216 216 }
217 217
218 + // SECURITY (FINDING-12): neutralize any </style> breakout in the user-built custom-button CSS.
219 + $styles = fluentformSanitizeCSS($styles);
218 220 if ($styles) {
219 221 $html .= '<style>' . $styles . '</style>';
220 222 }
221 223