Skip to content

Commit

Permalink
fix: Logs vuln (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalnagar authored May 13, 2023
1 parent 92e49bc commit 5eb3777
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/views/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h2>Logs</h2>
<form id="form_logs" method="GET">
<!-- For plugins, we also need to ensure that the form posts back to our current page -->
<input type="hidden" name="page" value="<?php echo sanitize_text_field($_REQUEST['page']); ?>" />
<input type="hidden" name="page" value="<?php echo esc_attr($_REQUEST['page']); ?>" />
<?php wp_nonce_field("form-logs-options", "form-logs-options"); ?>
<!-- Now we can render the completed list table -->
<p class="search-box">
Expand Down
2 changes: 1 addition & 1 deletion custom-404-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Custom 404 Pro
Plugin URI: https://wordpress.org/plugins/custom-404-pro/
Description: Override the default 404 page with any page or a custom URL from the Admin Panel.
Version: 3.8.1
Version: 3.8.2
Author: Kunal Nagar
Author URI: https://www.kunalnagar.in
License: GPL-2.0+
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/kunalnagar88/10
Tags: wordpress, 404, 404 error page, 404 link, 404 page, broken link, custom 404, custom 404 error, custom 404 error page, custom 404 page, customize 404, customize 404 error page, customize 404 page, error, error page, missing, page, page not found, page not found error
Requires at least: 3.0.1
Tested up to: 6.2
Stable tag: 3.8.1
Stable tag: 3.8.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -55,6 +55,9 @@ Uninstall the plugin from the Plugins page (important!) and reinstall it. Never

== Changelog ==

= 3.8.2 =
* Fix logs vuln

= 3.8.1 =
* Fix Search vuln

Expand Down

0 comments on commit 5eb3777

Please sign in to comment.