Skip to content

Commit

Permalink
Merge pull request #39 from brainstormforce/issue-report
Browse files Browse the repository at this point in the history
EPS-474: Security issue for Cards for BB
  • Loading branch information
sushmak02 authored Mar 14, 2024
2 parents cb84142 + 40d67cf commit 74c9ecc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Donate link:** https://www.paypal.me/BrainstormForce
**Requires at least:** 4.4
**Tags:** beaver builder, page builder plugin, bootstrap cards, cards, bootstrap, drag and drop cards, bb bootstrap, Cards for Beaver Builder
**Stable tag:** 1.1.2
**Stable tag:** 1.1.3
**Tested up to:** 6.4.1
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -88,6 +88,9 @@ Visit our website to know more about the top WordPress products and services we

## Changelog ##

### 1.1.3 ###
Security Fix: Hardened the security of the plugin. Props: Wordfence.

### 1.1.2 ###
* Improvement: Added compatibility to WordPress 6.1

Expand Down
4 changes: 2 additions & 2 deletions bb-bootstrap-cards-module/includes/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
<!--/.Text-->
<!--Link-->
<?php if ( 'link' == $settings->card_btn_type ) { ?>
<a class="bb_boot_card_link" href="<?php echo $settings->link_field; ?>" target="<?php echo $settings->link_target; ?>">
<a class="bb_boot_card_link" href="<?php echo esc_url( $settings->link_field ); ?>" target="<?php echo esc_attr( $settings->link_target ); ?>">
<?php echo $settings->card_btn_text; ?>
</a>
<?php } elseif ( 'button' == $settings->card_btn_type ) { ?>
<a class="bb_boot_card_link_button" href="<?php echo $settings->btn_link; ?>" target="<?php echo $settings->btn_link_target; ?>">
<a class="bb_boot_card_link_button" href="<?php echo esc_url( $settings->btn_link ); ?>" target="<?php echo esc_attr( $settings->btn_link_target ); ?>">
<span class="bb_boot_button"><?php echo $settings->btn_text; ?></span>
</a>
<?php } ?>
Expand Down
2 changes: 1 addition & 1 deletion bb-bootstrap-cards.php.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: Pratik Chaskar
* Author URI: https://pratikchaskar.com/
* Text Domain: bb-bootstrap-cards
* Version: 1.1.2
* Version: 1.1.3
*
* @package BB-Bootstrap-Cards
*/
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: pratikchaskar
Donate link: https://www.paypal.me/BrainstormForce
Requires at least: 4.4
Tags: beaver builder, page builder plugin, bootstrap cards, cards, bootstrap, drag and drop cards, bb bootstrap, Cards for Beaver Builder
Stable tag: 1.1.2
Stable tag: 1.1.3
Tested up to: 6.4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -88,6 +88,9 @@ Visit our website to know more about the top WordPress products and services we

== Changelog ==

= 1.1.3 =
Security Fix: Hardened the security of the plugin. Props: Wordfence.

= 1.1.2 =
* Improvement: Added compatibility to WordPress 6.1

Expand Down

0 comments on commit 74c9ecc

Please sign in to comment.