Skip to content

Commit

Permalink
Merge pull request #2598 from QuizandSurveyMaster/CU-86cvuadta-vulner…
Browse files Browse the repository at this point in the history
…ability-report

Cu 86cvuadta vulnerability report
  • Loading branch information
zubairraeen authored Jul 10, 2024
2 parents 13caee8 + 5b2f3ec commit 7b238b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/classes/class-qsm-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function generate_section( $fields, $section ) {
if ( ( isset( $_POST[ $field["id"] ] ) && 'multiple_fields' !== $field["type"] ) || 'selectinput' == $field["type"] ) {
switch ( $field["type"] ) {
case 'text':
$sanitized_value = sanitize_text_field( wp_unslash( $_POST[ $field["id"] ] ) );
$sanitized_value = esc_html( sanitize_text_field( wp_unslash( $_POST[ $field["id"] ] ) ) );
break;

case 'url':
Expand Down

0 comments on commit 7b238b6

Please sign in to comment.