{
 "id": "WPSEC-2026-2718",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2718/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2718/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2718/index.md",
 "title": "Photo Gallery by 10Web <= 1.8.48 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'watermark_url' and 'watermark_link' Shortcode Attributes",
 "description": "The Photo Gallery by 10Web plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'watermark_url' and 'watermark_link' attributes of the Best_Wordpress_Gallery shortcode, and the matching watermark settings, in all versions up to, and including, 1.8.48, due to insufficient output escaping. The slideshow and image browser views URL-decode these values and print them into href and src attributes without escaping them. 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.",
 "plugin": {
  "slug": "photo-gallery",
  "name": "Photo Gallery by 10Web",
  "full_name": "Photo Gallery by 10Web – Mobile-Friendly Image Gallery",
  "wordpress_org": "https://wordpress.org/plugins/photo-gallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/photo-gallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/photo-gallery"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.8.49",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.8.49"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.8.49",
 "remediation": "Update to 1.8.49 or later.",
 "fix_released": "2026-11-06T13:58:53+00:00",
 "published": "2026-11-07T14:42:15+00:00",
 "updated": "2026-11-07T11:09:23.842041+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2718/",
  "https://plugins.svn.wordpress.org/photo-gallery/tags/1.8.49/",
  "https://wordpress.org/plugins/photo-gallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/photo-gallery",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-11-07"
 }
}