{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4038",
 "modified": "2026-11-26T22:41:14Z",
 "published": "2026-11-26T22:41:14Z",
 "summary": "Wp Parsidate <= 6.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Number Converter",
 "details": "The Parsi Date plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post content processed by the Persian number converter in all versions up to, and including, 6.5.2. The converter parsed content with DOMDocument and re-serialized it with saveHTML(), and libxml wrote attribute text following '&{' back unescaped, so escaped attribute content (for example inside a <title> element) could be turned into live markup after sanitization. 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 affected page, when the number conversion feature is enabled.",
 "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-parsidate"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "6.1"
      },
      {
       "fixed": "6.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 6.1 before 6.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4038/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-parsidate/tags/6.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-parsidate/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4038/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
