Plugin Directory

Changeset 3047839


Ignore:
Timestamp:
03/08/2024 01:25:27 PM (2 years ago)
Author:
mailmunch
Message:

xss fix

Location:
mailchimp-forms-by-mailmunch
Files:
5 edited
7 copied

Legend:

Unmodified
Added
Removed
  • mailchimp-forms-by-mailmunch/tags/3.2.3/includes/class-mailchimp-mailmunch.php

    r3047795 r3047839  
    2424define( 'MAILCHIMP_MAILMUNCH_POST_TYPE', 'mailmunch_page' );
    2525define( 'MAILCHIMP_MAILMUNCH_PLUGIN_DIRECTORY', 'mailchimp-forms-by-mailmunch' );
    26 define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.2.2' );
     26define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.2.3' );
    2727
    2828/**
  • mailchimp-forms-by-mailmunch/tags/3.2.3/mailchimp-mailmunch.php

    r3047795 r3047839  
    1717 * Plugin URI:        http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
    1818 * Description:       The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
    19  * Version:           3.2.2
     19 * Version:           3.2.3
    2020 * Author:            MailMunch
    2121 * Author URI:        http://www.mailmunch.com
  • mailchimp-forms-by-mailmunch/tags/3.2.3/public/class-mailchimp-mailmunch-public.php

    r2077433 r3047839  
    5757
    5858    public function shortcode_form($atts) {
    59         return "<div class='mailmunch-forms-short-code mailmunch-forms-widget-".$atts['id']."' style='display: none !important;'></div>";
     59    $id = sanitize_text_field($atts['id']);
     60    return "<div class='mailmunch-forms-short-code mailmunch-forms-widget-" . esc_attr($id) . "' style='display: none !important;'></div>";
    6061    }
    6162
  • mailchimp-forms-by-mailmunch/tags/3.2.3/readme.txt

    r3047795 r3047839  
    55Requires at least: 4.0
    66Tested up to: 6.4.2
    7 Stable tag: 3.2.2
     7Stable tag: 3.2.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • mailchimp-forms-by-mailmunch/trunk/includes/class-mailchimp-mailmunch.php

    r3047795 r3047839  
    2424define( 'MAILCHIMP_MAILMUNCH_POST_TYPE', 'mailmunch_page' );
    2525define( 'MAILCHIMP_MAILMUNCH_PLUGIN_DIRECTORY', 'mailchimp-forms-by-mailmunch' );
    26 define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.2.2' );
     26define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.2.3' );
    2727
    2828/**
  • mailchimp-forms-by-mailmunch/trunk/mailchimp-mailmunch.php

    r3047795 r3047839  
    1717 * Plugin URI:        http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
    1818 * Description:       The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
    19  * Version:           3.2.2
     19 * Version:           3.2.3
    2020 * Author:            MailMunch
    2121 * Author URI:        http://www.mailmunch.com
  • mailchimp-forms-by-mailmunch/trunk/public/class-mailchimp-mailmunch-public.php

    r2077433 r3047839  
    5757
    5858    public function shortcode_form($atts) {
    59         return "<div class='mailmunch-forms-short-code mailmunch-forms-widget-".$atts['id']."' style='display: none !important;'></div>";
     59    $id = sanitize_text_field($atts['id']);
     60    return "<div class='mailmunch-forms-short-code mailmunch-forms-widget-" . esc_attr($id) . "' style='display: none !important;'></div>";
    6061    }
    6162
  • mailchimp-forms-by-mailmunch/trunk/readme.txt

    r3047795 r3047839  
    55Requires at least: 4.0
    66Tested up to: 6.4.2
    7 Stable tag: 3.2.2
     7Stable tag: 3.2.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    172172== Changelog ==
    173173
     174= 3.2.3 - Mar 8, 2024 =
     175
     176** fixed known issues
     177* sanitize inputs value
     178* implement nonce verification
     179
    174180= 3.1.2 - Dec 7, 2018 =
    175181
Note: See TracChangeset for help on using the changeset viewer.