Coupon & Discount Code Reveal Button Security & Risk Analysis

wordpress.org/plugins/coupon-reveal-button

CTA Buttons that reveal text on click. Made for affiliate & PPC websites. Reveal voucher & bonus codes. Responsive & SEO Optimized

2K active installs v1.3.0 PHP 5.2.4+ WP 3.0.1+ Updated Nov 26, 2025
bonus-codebuttoncoupon-buttondiscount-code-buttonreveal-button
99
A · Safe
CVEs total1
Unpatched0
Last CVEApr 22, 2024
Download
Safety Verdict

Is Coupon & Discount Code Reveal Button Safe to Use in 2026?

Generally Safe

Score 99/100

Coupon & Discount Code Reveal Button has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Apr 22, 2024Updated 4mo ago
Risk Assessment

The "coupon-reveal-button" v1.3.0 plugin exhibits a generally good security posture with several strong practices in place. It effectively utilizes prepared statements for all SQL queries and has a high percentage of properly escaped output, indicating a good understanding of common web security vulnerabilities. The plugin also demonstrates a commitment to security through numerous nonce and capability checks, further limiting potential attack vectors. However, the presence of the `unserialize` function, even with no identified critical or high severity taint flows, presents a latent risk. While current taint analysis is clean, `unserialize` is inherently dangerous and can lead to vulnerabilities if not handled with extreme care, especially if user-controlled data can influence serialized strings. The plugin's vulnerability history shows one medium-severity Cross-Site Scripting (XSS) vulnerability, which, although patched, suggests that input sanitization was not always robust, and this could potentially be exploited if similar patterns exist in unanalyzed code paths. The low number of entry points, all with some form of authentication or permission checks, is a positive sign. Overall, the plugin is well-defended in many areas, but the `unserialize` function and past XSS history warrant careful consideration and ongoing monitoring.

Key Concerns

  • Presence of dangerous function: unserialize
  • Past medium severity XSS vulnerability
Vulnerabilities
1

Coupon & Discount Code Reveal Button Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2024-32722medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Coupon & Discount Code Reveal Button <= 1.2.5 - Authenticated (Editor+) Stored Cross-Site Scripting

Apr 22, 2024 Patched in 1.2.6 (8d)
Code Analysis
Analyzed Mar 16, 2026

Coupon & Discount Code Reveal Button Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
8 prepared
Unescaped Output
15
160 escaped
Nonce Checks
10
Capability Checks
3
File Operations
1
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserializereturn unserialize(base64_decode($item));inc\spbcta-plugin-db.php:114

SQL Query Safety

100% prepared8 total queries

Output Escaping

91% escaped175 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

3 flows2 with unsanitized paths
spbcta_print_page (inc\spbcta-plugin.php:92)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Coupon & Discount Code Reveal Button Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 2

authwp_ajax_wptrt_dismiss_noticeadmin_notification\src\Dismiss.php:67
authwp_ajax_spbrec_dismiss_noticerecommender\recommender.php:77

Shortcodes 2

[spbcta_sc] inc\spbcta-plugin.php:29
[spbcta_sc_all] inc\spbcta-plugin.php:30
WordPress Hooks 10
actionadmin_noticesadmin_notification\src\Notices.php:46
actionadmin_footeradmin_notification\src\Notices.php:49
actionadmin_menuinc\spbcta-plugin.php:25
actionadmin_enqueue_scriptsinc\spbcta-plugin.php:26
actionwp_enqueue_scriptsinc\spbcta-plugin.php:27
actioncurrent_screeninc\spbcta-plugin.php:28
actionadmin_initinc\spbcta-plugin.php:31
actionadmin_noticesrecommender\recommender.php:76
actionadmin_initrecommender\recommender.php:78
filterplugin_row_metaspbcta-plugin.php:33
Maintenance & Trust

Coupon & Discount Code Reveal Button Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedNov 26, 2025
PHP min version5.2.4
Downloads134K

Community Trust

Rating100/100
Number of ratings4
Active installs2K
Developer Profile

Coupon & Discount Code Reveal Button Developer Profile

Suplugins

6 plugins · 108K total installs

79
trust score
Avg Security Score
100/100
Avg Patch Time
197 days
View full developer profile
Detection Fingerprints

How We Detect Coupon & Discount Code Reveal Button

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/coupon-reveal-button/css/spbcta-stylesheet.css/wp-content/plugins/coupon-reveal-button/css/spbcta-stylesheet-front.css/wp-content/plugins/coupon-reveal-button/js/spbcta-plugin.js/wp-content/plugins/coupon-reveal-button/js/spbcta-nm.js/wp-content/plugins/coupon-reveal-button/img/icon.png
Script Paths
/wp-content/plugins/coupon-reveal-button/js/spbcta-plugin.js/wp-content/plugins/coupon-reveal-button/js/spbcta-nm.js
Version Parameters
coupon-reveal-button/css/spbcta-stylesheet.css?ver=coupon-reveal-button/css/spbcta-stylesheet-front.css?ver=coupon-reveal-button/js/spbcta-plugin.js?ver=coupon-reveal-button/js/spbcta-nm.js?ver=

HTML / DOM Fingerprints

CSS Classes
spbctawrapspbcta_backend_headlineedit-button-view-headlinereview-bannerspbcta_btnspbcta_btn_new_tablespbcta_removedoverview_tip+6 more
HTML Comments
<!-- New button no data yet --><!-- 'ADD TABLE' UI --><!-- Edit button --><!-- 'EDIT TABLE' UI -->+2 more
Data Attributes
spbcta_plugindata-target="spbcta_dialog"data-id="spbcta_dialog"id="spbcta_dialog"class="spbcta_reveal_button"data-id="%s"+5 more
JS Globals
spbcta_admin_notification
Shortcode Output
[spbcta_sc][spbcta_sc_all]
FAQ

Frequently Asked Questions about Coupon & Discount Code Reveal Button