Before After Security & Risk Analysis

wordpress.org/plugins/before-after

Before After plugin integrates modified version [jQuery Before/After Plugin](http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/ "jQ …

100 active installs v1.0.2 PHP + WP 2.9+ Updated Feb 16, 2016
afterbeforephoto-effectsphotoblogphotos
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Before After Safe to Use in 2026?

Generally Safe

Score 85/100

Before After has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The 'before-after' plugin version 1.0.2 exhibits a generally good security posture based on the provided static analysis and vulnerability history. The plugin has no known CVEs, and the static analysis reveals no critical or high-severity code signals such as dangerous functions, raw SQL queries, or unsanitized taint flows. This indicates that the developers have taken steps to avoid common security pitfalls.

However, there are significant concerns regarding output escaping. The analysis shows that 0% of the 9 outputs are properly escaped. This is a critical weakness that could lead to Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the website. Additionally, the plugin bundles an outdated version of jQuery (v1.6.1), which may contain known vulnerabilities that are not directly reported in this plugin's history but could be exploited.

While the plugin has a clean vulnerability history and a limited attack surface, the lack of proper output escaping and the use of an outdated bundled library present tangible security risks. The absence of any reported vulnerabilities in the past is positive, but it does not negate the risks identified in the current code analysis. The plugin's strengths lie in its minimal attack surface and absence of direct SQL injection or critical taint flows, but these are overshadowed by the critical unescaped output issue.

Key Concerns

  • Unescaped output
  • Bundled outdated library (jQuery v1.6.1)
Vulnerabilities
None known

Before After Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Before After Release Timeline

v1.0.2Current
v1.0.1
v1.0.0
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.3
v0.0.2
v0.0.1
Code Analysis
Analyzed Mar 16, 2026

Before After Code Analysis

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

Bundled Libraries

jQuery1.6.1

Output Escaping

0% escaped9 total outputs
Attack Surface

Before After Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[beforeafter] before-after.php:907
WordPress Hooks 8
actionwp_headbefore-after.php:886
actionwp_headbefore-after.php:892
actioninitbefore-after.php:894
actionwp_footerbefore-after.php:896
actionwp_footerbefore-after.php:898
actionadmin_headbefore-after.php:900
actionadmin_menubefore-after.php:902
actionadmin_initbefore-after.php:904
Maintenance & Trust

Before After Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedFeb 16, 2016
PHP min version
Downloads18K

Community Trust

Rating92/100
Number of ratings11
Active installs100
Developer Profile

Before After Developer Profile

Hemant Nandrajog (instruite)

2 plugins · 160 total installs

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

How We Detect Before After

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/before-after/images//wp-content/plugins/before-after/js/jquery-1.6.1.min.js/wp-content/plugins/before-after/js/jquery-ui-1.8.13.custom.min.js/wp-content/plugins/before-after/js/jquery.beforeafter-1.3.instruite.min.js
Script Paths
/wp-content/plugins/before-after/js/jquery-1.6.1.min.js/wp-content/plugins/before-after/js/jquery-ui-1.8.13.custom.min.js/wp-content/plugins/before-after/js/jquery.beforeafter-1.3.instruite.min.js
Version Parameters
jquery.beforeafter-1.3.instruite.min.js?ver=jquery-ui-1.8.13.custom.min.js?ver=jquery-1.6.1.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
ba-containerbalinks
Data Attributes
data-ba-id
JS Globals
beforeAfter
Shortcode Output
[before_after
FAQ

Frequently Asked Questions about Before After