{
 "id": "WPSEC-2026-4336",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4336/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4336/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4336/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4336.json",
 "title": "Iptanus File Upload <= 5.3.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Webcam Shortcode Attributes",
 "description": "The Iptanus File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the uploader's webcam shortcode attributes (videowidth, videoheight, videoaspectratio and videoframerate) in all versions from 3.8.0 up to, and including, 5.3.2. The cause is insufficient escaping when these values are written into the uploader's inline JavaScript: they are placed between hand-written quotes after only esc_html(), which does not escape backslashes. A value ending in a backslash can therefore escape its closing quote, so that the value of the next attribute runs as code. 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": "wp-file-upload",
  "name": "Iptanus File Upload",
  "full_name": "Iptanus File Upload",
  "wordpress_org": "https://wordpress.org/plugins/wp-file-upload/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-file-upload/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-file-upload"
 },
 "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": "3.8.0",
    "from_inclusive": true,
    "to": "5.3.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.8.0 before 5.3.3"
  ]
 },
 "introduced_in": "3.8.0",
 "fixed_in": "5.3.3",
 "remediation": "Update to 5.3.3 or later.",
 "fix_released": "2026-11-30T19:23:47+00:00",
 "published": "2026-12-01T19:47:56+00:00",
 "updated": "2026-12-01T10:57:11.195695+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4336/",
  "https://plugins.svn.wordpress.org/wp-file-upload/tags/5.3.3/",
  "https://wordpress.org/plugins/wp-file-upload/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-file-upload",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-01"
 }
}