{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4182",
 "modified": "2026-11-28T12:41:00Z",
 "published": "2026-11-28T12:41:00Z",
 "summary": "WP Photo Album Plus <= 9.3.07.003 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'class' Shortcode Attribute",
 "details": "The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class' attribute of the [wppa] shortcode in all versions up to, and including, 9.3.07.003 due to insufficient input sanitization and output escaping. The attribute value was stored unsanitized and echoed raw inside the class attribute of the container wrapper div. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-photo-album-plus"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "9.3.08.001"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 9.3.08.001"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4182/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-photo-album-plus/tags/9.3.08.001/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-photo-album-plus/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4182/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
