TwentyTwenty Compare

TwentyTwenty Compare has one disclosed vulnerability in the WordSec catalog, all reported in 2025; it is fixed as of September 2026. Their average CVSS score is 6.4, and the most serious one scores 6.4 out of 10.

The most common weakness is Cross-Site Scripting, behind 1 of the records (100%).

The one issue recorded for TwentyTwenty Compare has a vendor fix available, so running the current release closes it.

All of these findings were reported by SOPROBRO. TwentyTwenty Compare is installed on roughly 80 WordPress sites, so each unpatched flaw has a wide blast radius. The current release is tested up to WordPress 7.0.4.

Strategic Overview

Avg CVSSMedium
6.4/ 10
Patch Coverage100%
Open

0

Fixed

1

Get automatic notifications for all TwentyTwenty Compare vulnerabilities before they are exploited.

Highest severity on recordCVSS 6.4CVE-2025-22546

jQuery TwentyTwenty <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Read the full analysis

Vulnerability Records

1 records
TwentyTwenty Compare banner
Latestv2.0.2

TwentyTwenty Compare

Obaid Hossain

Author

Obaid Hossain

4.0(1)
80/100
Last Updated
2026-06-30 (2mo ago)
Active Installs
80+
Downloads
3,052
Requires WP
5.8+
Requires PHP
7.4+
Tested up to
WP 7.0.4
Created
2017-04-21 (10y ago)

TwentyTwenty Compare brings the popular jQuery TwentyTwenty plugin to WordPress with full Gutenberg block support. Compare two images with an interactive before/after slider. Features Gutenberg Block – Native WordPress block editor integration with intuitive controls Shortcode Support – Use shortcodes in posts, pages, or widgets Multiple Options – Customize orientation, labels, behavior, and dimensions Responsive Design – Works perfectly on all devices Touch Support – Works with touch gestures on mobile devices Easy to Use – Simple interface for selecting and managing images Block Features The Gutenberg block includes: * Image uploader for before/after images * Visual preview in the editor * Customizable labels (Before/After text) * Orientation selection (Horizontal/Vertical) * Slider offset control * Behavior toggles (hover, handle-only, click-to-move) * Dimension controls (width/height) * Responsive mode Usage Using Gutenberg Block Edit any post or page Click the “+” (Add Block) button Search for “TwentyTwenty Compare” Click the block to add it Upload your before and after images Customize settings in the sidebar Using Shortcodes Basic Usage: [twentytwenty_compare before="https://yoursite.com/image-before.jpg" after="https://yoursite.com/image-after.jpg"] With Custom Labels: [twentytwenty_compare before="before.jpg" after="after.jpg" before_label="Original" after_label="Edited"] Vertical Orientation: [twentytwenty_compare before="before.jpg" after="after.jpg" orientation="vertical"] Custom Dimensions: [twentytwenty_compare before="before.jpg" after="after.jpg" width="800px" height="500px"] Shortcode Attributes Attribute Default Description before required URL of the before image after required URL of the after image before_label “Before” Label text for before image after_label “After” Label text for after image orientation “horizontal” “horizontal” or “vertical” offset “0.5” Initial slider position (0-1) width “” Container width (e.g., “100%”, “800px”) height “” Container height (e.g., “500px”) no_overlay “false” Hide label overlays move_on_hover “false” Move slider on hover handle_only “true” Only move via handle click_to_move “false” Click anywhere to move slider responsive “true” Make container responsive Using in PHP `php ` Reviews If you find this plugin useful, please leave a review at https://wordpress.org/support/plugin/js-twentytwenty/reviews/ Support GitHub: https://github.com/obaidhossain/js-twentytwenty

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C