Scroll to Top Security & Risk Analysis

wordpress.org/plugins/mdc-scroll-to-top

Scroll to Top button for your WordPress site.

40 active installs v2.0 PHP + WP 3.3+ Updated Aug 14, 2016
go-to-toppage-scrollingscroll-buttonscroll-to-toptop-scroll
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Scroll to Top Safe to Use in 2026?

Generally Safe

Score 85/100

Scroll to Top has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The mdc-scroll-to-top plugin version 2.0 demonstrates a generally good security posture with no known vulnerabilities or critical taint flows. The complete absence of SQL queries that aren't prepared and the lack of file operations or external HTTP requests are positive indicators. However, the static analysis reveals significant concerns. The presence of the `create_function` dangerous function is a critical red flag, as it can be exploited for code injection if not handled with extreme care and sanitization, which the limited taint analysis doesn't seem to have fully covered or confirmed. Additionally, the low rate of proper output escaping (32%) suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities. The absence of nonce checks and capability checks on its zero entry points, while seemingly benign due to the lack of entry points, is a potential weakness if any new entry points are added in the future without proper security considerations. In conclusion, while the plugin benefits from a clean vulnerability history and no direct exploitable attack surface currently, the identified code signals point to potential security weaknesses that require immediate attention to prevent future exploitation.

Key Concerns

  • Dangerous function (create_function)
  • Low output escaping rate (32%)
  • No capability checks on potential entry points
  • No nonce checks on potential entry points
Vulnerabilities
None known

Scroll to Top Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Scroll to Top Code Analysis

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

Dangerous Functions Found

create_function$callback = create_function('', 'echo "'.str_replace('"', '\"', $section['desc']).'";');admin\class.mdc-settings-api.php:101

Output Escaping

32% escaped22 total outputs
Attack Surface

Scroll to Top Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_enqueue_scriptsadmin\class.mdc-settings-api.php:23
actionadmin_initadmin\mdc-scroll-to-top-settings.php:15
actionadmin_menuadmin\mdc-scroll-to-top-settings.php:16
actionwp_enqueue_scriptsmdc-scroll-to-top.php:54
actionadmin_enqueue_scriptsmdc-scroll-to-top.php:55
actionwp_footermdc-scroll-to-top.php:56
Maintenance & Trust

Scroll to Top Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedAug 14, 2016
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs40
Developer Profile

Scroll to Top Developer Profile

Nazmul Ahsan

6 plugins · 180 total installs

84
trust score
Avg Security Score
86/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Scroll to Top

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mdc-scroll-to-top/assets/css/style.css/wp-content/plugins/mdc-scroll-to-top/assets/css/admin.css/wp-content/plugins/mdc-scroll-to-top/assets/js/script.js/wp-content/plugins/mdc-scroll-to-top/assets/js/admin.js/wp-content/plugins/mdc-scroll-to-top/assets/icons/arrow23.png
Script Paths
/wp-content/plugins/mdc-scroll-to-top/assets/js/script.js/wp-content/plugins/mdc-scroll-to-top/assets/js/admin.js
Version Parameters
mdc-scroll-to-top/assets/css/style.css?ver=mdc-scroll-to-top/assets/js/script.js?ver=mdc-scroll-to-top/assets/css/admin.css?ver=mdc-scroll-to-top/assets/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
scroll-to-top
JS Globals
time_to_scrollshow_after_px
FAQ

Frequently Asked Questions about Scroll to Top