Vulnerabilities / Before After Image Comparison – Visual Comparison for Two Images / WPSEC-2026-1212
Before After Image Comparison – Visual Comparison for Two Images <= 1.1.21 - Authenticated (Contributor+) Sensitive Information Exposure via 'baicb' Shortcode
Medium 4.3
CWE-200Fixed in 1.1.22
- ID
- WPSEC-2026-1212
- Plugin
- Before After Image Comparison – Visual Comparison for Two Images (before-after-image-compare)
- Affected
- from 1.1.15 before 1.1.22
- Remediation
- Update to 1.1.22 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-200
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-18
- Attack surface
- Before After Image Comparison – Visual Comparison for Two Images on WPSec AttackSurface
- Fix released
- Published
Description
The Before After Image Comparison plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'baicb' shortcode in all versions from 1.1.15 up to, and including, 1.1.21. This is due to the shortcode loading and rendering the first block of any post by its ID without checking the post type, the post status, or whether the current user can read the post. This makes it possible for authenticated attackers, with contributor-level access and above, to view the first block of private, draft, or pending posts of any post type that they should not have access to.
References
- https://wpsec.com/vuln/WPSEC-2026-1212/
- https://plugins.svn.wordpress.org/before-after-image-compare/tags/1.1.22/
- https://wordpress.org/plugins/before-after-image-compare/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS