{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4183",
 "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 Error Log",
 "details": "The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's error/event log in all versions up to, and including, 9.3.07.003, due to insufficient input sanitization and output escaping. wppa_log() escapes only quotes and angle brackets, while the admin log viewer turns the {span ...} and {} pseudo-tags back into HTML. Text logged from an invalid 'type' attribute of the [wppa] shortcode can therefore become an HTML element with an event handler. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when an administrator views the plugin's log.",
 "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-4183/"
  },
  {
   "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-4183/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
