Plugin Directory

Changeset 3198385


Ignore:
Timestamp:
11/27/2024 06:15:08 PM (16 months ago)
Author:
soraco
Message:

Resolved vulnerability issue.
Tested with latest versions of WP and WooCommerce

Location:
quick-license-manager
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • quick-license-manager/tags/2.0.10/wc_qlm.php

    r2351804 r3198385  
    5454{   
    5555    if ($qlm_product_addon == false) return;
     56
     57    // Required for plugin: WooCommerce Custom Product Addons (Free)
     58    if (!defined('WCPA_ORDER_META_KEY'))
     59    {
     60        define('WCPA_ORDER_META_KEY', '_WCPA_order_meta_data');
     61    }
    5662
    5763    $meta_data = $item->get_meta(WCPA_ORDER_META_KEY);
  • quick-license-manager/trunk/Readme.txt

    r2971477 r3198385  
    44Requires at least: 4.2
    55Tested up to: 6.3.1
    6 Stable tag: 2.4.15
     6Stable tag: 2.4.16
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 2.4.16 - 11/27/2024 =
     44Resolved vulnerability issue.
     45Tested with latest versions of WP and WooCommerce
    4246
    4347= 2.4.15 - 09/25/2023 =
  • quick-license-manager/trunk/classes/qlm_emails.php

    r2534178 r3198385  
    5858            $qml_product_id = '';
    5959            if(isset($_POST['submit_qlm_products'])){
    60                 $qml_product_id = $_POST['submit_qlm_products'];
     60                $qml_product_id = sanitize_text_field ($_POST['submit_qlm_products']);
    6161            }
    6262            ?>
     
    143143                                <select class="form-control" required name="submit_qlm_products" onchange="this.form.submit()">
    144144                                    <?php if ($qml_product_id){?>
    145                                     <option value="<?php echo $qml_product_id ?>"><?php echo get_the_title($qml_product_id); ?></option>
     145                                    <option value="<?php echo sanitize_text_field($qml_product_id) ?>"><?php echo get_the_title(sanitize_text_field($qml_product_id)); ?></option>
    146146                                    <?php } else { ?>
    147147                                    <option value="<?php  ?>">Select Product</option>
     
    173173                                    wp_editor( $default_template, $editor_id, $settings);
    174174                                } ?>
    175                                 <input type="hidden" value="<?php echo $qml_product_id;?>" name="qlm_pid">
     175                                <input type="hidden" value="<?php echo sanitize_text_field($qml_product_id);?>" name="qlm_pid">
    176176                            </div>
    177177                            <div class="col-md-2" >&nbsp;</div>
  • quick-license-manager/trunk/wc_qlm.php

    r2971477 r3198385  
    55 * Plugin URI: https://wordpress.org/plugins/quick-license-manager/
    66 * Description: Automates the creation of license keys when orders are placed with WooCommerce
    7  * Version: 2.4.15
     7 * Version: 2.4.16
    88 * Author: Soraco Technologies Inc.
    99 * Author URI: https://soraco.co
Note: See TracChangeset for help on using the changeset viewer.