Back To The Top Button Security & Risk Analysis

wordpress.org/plugins/back-to-the-top-button

Simple plugin that allow you add back to top button and get to the top of the page when clicking on it.

4K active installs v2.3.0 PHP 5.2.4+ WP 5.0+ Updated Dec 11, 2025
back-to-topbuttontop
100
A · Safe
CVEs total1
Unpatched0
Last CVESep 5, 2023
Safety Verdict

Is Back To The Top Button Safe to Use in 2026?

Generally Safe

Score 100/100

Back To The Top Button has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Sep 5, 2023Updated 3mo ago
Risk Assessment

The "back-to-the-top-button" plugin v2.3.0 exhibits a generally positive security posture due to its limited attack surface and the absence of critical code signals like dangerous functions or raw SQL queries. All identified entry points, which consist of two AJAX handlers, are reportedly protected by authentication checks, and there are no exposed REST API routes or shortcodes. Furthermore, the plugin demonstrates good practices with all SQL queries utilizing prepared statements and a robust implementation of nonce checks and capability checks.

However, the static analysis does reveal areas for improvement. The presence of two "flows with unsanitized paths" in the taint analysis is a concern, even though they are not classified as critical or high severity. This suggests potential pathways for data to be processed without adequate sanitization, which could be exploited if specific conditions are met. Additionally, while the majority of output escaping is properly handled, a 23% rate of unescaped output is a notable weakness that could lead to cross-site scripting vulnerabilities.

The plugin's vulnerability history shows one past medium-severity vulnerability related to Cross-site Scripting. The fact that there are no currently unpatched vulnerabilities is a positive sign, but the previous XSS issue reinforces the importance of diligent output sanitization. In conclusion, the plugin has a good foundation with secure handling of core WordPress features, but the identified unsanitized paths and the percentage of unescaped output warrant attention to prevent potential security incidents.

Key Concerns

  • Unsanitized paths in taint analysis
  • Significant percentage of unescaped output
  • Past medium severity XSS vulnerability
Vulnerabilities
1

Back To The Top Button Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

Back To The Top Button <= 2.1.6 - Authenticated (Administrator+) Stored Cross-Site Scripting

Sep 5, 2023 Patched in 2.1.7 (192d)
Code Analysis
Analyzed Mar 16, 2026

Back To The Top Button Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
29
97 escaped
Nonce Checks
3
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

77% escaped126 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
yydev_top_btn_echo_message_if_exists (include\functions.php:63)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Back To The Top Button Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_yydev_top_btn_stop_notice_forevernotices.php:62
authwp_ajax_yydev_top_btn_stop_notice_for_nownotices.php:84
WordPress Hooks 6
actionwp_footerinclude\front-end-output.php:216
actionwp_enqueue_scriptsinclude\front-end-output.php:258
actionwp_footerinclude\front-end-output.php:268
actionadmin_menuindex.php:51
filterplugin_action_linksindex.php:72
actionadmin_noticesnotices.php:274
Maintenance & Trust

Back To The Top Button Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 11, 2025
PHP min version5.2.4
Downloads27K

Community Trust

Rating100/100
Number of ratings21
Active installs4K
Developer Profile

Back To The Top Button Developer Profile

yydevelopment

11 plugins · 51K total installs

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

How We Detect Back To The Top Button

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/back-to-the-top-button/include/style.php/wp-content/plugins/back-to-the-top-button/include/scripts.php/wp-content/plugins/back-to-the-top-button/include/admin-output.php/wp-content/plugins/back-to-the-top-button/include/front-end-output.php

HTML / DOM Fingerprints

CSS Classes
yydev-top-btn-wrapper
HTML Comments
<!-- ================================================Plugin Name: YYDevelopment - Back To The Top ButtonPlugin URI: https://www.yydevelopment.com/yydevelopment-wordpress-plugins/Description: Simple plugin that allow you add back to top button to your site+41 more
Data Attributes
data-background_colordata-button_widthdata-button_heightdata-border_radiusdata-horizontal_positiondata-horizontal_spacing+21 more
JS Globals
yy_array_top_btnyydev_top_btn_settingswp_options_name
FAQ

Frequently Asked Questions about Back To The Top Button