Scroll to top button Security & Risk Analysis

wordpress.org/plugins/wp-scroll-2

Scroll to top button plugin is an simple and nice plugin with the standard settings.

100 active installs v1.1.1 PHP + WP 3.3+ Updated Jun 10, 2025
back-to-topscrollscroll-to-topscroll-topscroll-up
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Scroll to top button Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 9mo ago
Risk Assessment

The "wp-scroll-2" v1.1.1 plugin presents a mixed security posture. On the positive side, it demonstrates good practices by having no recorded vulnerabilities (CVEs) and no identified dangerous functions or file operations. The plugin also correctly utilizes prepared statements for all SQL queries and includes a nonce check, which are fundamental security measures.

However, significant concerns arise from the static analysis. The fact that 100% of the outputs are not properly escaped is a critical weakness. This means any data outputted by the plugin, if it originates from an untrusted source, could be vulnerable to Cross-Site Scripting (XSS) attacks. Furthermore, the taint analysis revealed a flow with an unsanitized path, which, while not classified as critical or high severity in this specific analysis, indicates a potential for path traversal or other file-related vulnerabilities if not handled carefully in the future or if the context of the flow is misunderstood.

The absence of any recorded vulnerabilities in its history is a positive indicator, suggesting a history of secure development or that it hasn't been a target. However, this should not be solely relied upon, especially given the identified output escaping and taint flow issues. The plugin's strengths lie in its SQL handling and nonce usage, but its weaknesses in output sanitation and potential unsanitized path flows represent actionable security risks.

Key Concerns

  • All outputs are unescaped
  • Flow with unsanitized path
  • No capability checks on entry points
Vulnerabilities
None known

Scroll to top button Security Vulnerabilities

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

Scroll to top button Code Analysis

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

Output Escaping

0% escaped6 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
update_options (scroll_to_top.php:76)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Scroll to top button Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actioninitscroll_to_top.php:50
actionwp_headscroll_to_top.php:51
actionadmin_menuscroll_to_top.php:52
Maintenance & Trust

Scroll to top button Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJun 10, 2025
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Developer Profile

Scroll to top button Developer Profile

wpdevart

45 plugins · 52K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
581 days
View full developer profile
Detection Fingerprints

How We Detect Scroll to 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/wp-scroll-2/css/scroll_to_top.css/wp-content/plugins/wp-scroll-2/js/scroll_to_top.js
Script Paths
/wp-content/plugins/wp-scroll-2/js/scroll_to_top.js

HTML / DOM Fingerprints

CSS Classes
scroll_to_tablleupload-buttoncont_button_uploaded_img
Data Attributes
data-scroll-to-top
JS Globals
hhg_scroll_to_top
FAQ

Frequently Asked Questions about Scroll to top button