{
 "id": "WPSEC-2026-1212",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1212/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1212/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1212/index.md",
 "title": "Before After Image Comparison – Visual Comparison for Two Images <= 1.1.21 - Authenticated (Contributor+) Sensitive Information Exposure via 'baicb' Shortcode",
 "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.",
 "plugin": {
  "slug": "before-after-image-compare",
  "name": "Before After Image Comparison – Visual Comparison for Two Images",
  "full_name": "Before After Image Comparison – Visual Comparison for Two Images",
  "wordpress_org": "https://wordpress.org/plugins/before-after-image-compare/",
  "advisories_url": "https://wpsec.com/vuln/plugin/before-after-image-compare/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/before-after-image-compare"
 },
 "type": "SENSITIVE DATA DISCLOSURE",
 "cwe": [
  "CWE-200"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.1.15",
    "from_inclusive": true,
    "to": "1.1.22",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.1.15 before 1.1.22"
  ]
 },
 "introduced_in": "1.1.15",
 "fixed_in": "1.1.22",
 "remediation": "Update to 1.1.22 or later.",
 "fix_released": "2026-10-17T06:54:43+00:00",
 "published": "2026-10-18T07:44:02+00:00",
 "updated": "2026-10-17T09:16:09.834988+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/before-after-image-compare",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-18"
 }
}