{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4181",
 "modified": "2026-11-28T12:41:00Z",
 "published": "2026-11-28T12:41:00Z",
 "summary": "WP Photo Album Plus <= 9.3.07.003 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Photo Comments",
 "details": "The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via photo comments in all versions up to, and including, 9.3.07.003, due to insufficient output escaping of comment text. The comment was only filtered with wp_kses_post and then placed inside a single-quoted JavaScript string in the slideshow data. The slideshow later inserts that string into the page as HTML, so JavaScript escape sequences such as \\x3c pass the filter and turn into markup. This makes it possible for authenticated attackers, with subscriber-level access and above, who are allowed to comment on photos, to inject arbitrary web scripts that execute when a user views the photo's slideshow comments.",
 "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-4181/"
  },
  {
   "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-4181/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
