{
 "id": "WPSEC-2026-4038",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4038/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4038/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4038/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4038.json",
 "title": "Wp Parsidate <= 6.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Number Converter",
 "description": "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.",
 "plugin": {
  "slug": "wp-parsidate",
  "name": "Wp Parsidate",
  "full_name": "Parsi Date | بسته فارسی ساز وردپرس و ووکامرس پارسی دیت",
  "wordpress_org": "https://wordpress.org/plugins/wp-parsidate/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-parsidate/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-parsidate"
 },
 "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": "6.1",
    "from_inclusive": true,
    "to": "6.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 6.1 before 6.6"
  ]
 },
 "introduced_in": "6.1",
 "fixed_in": "6.6",
 "remediation": "Update to 6.6 or later.",
 "fix_released": "2026-11-25T22:26:18+00:00",
 "published": "2026-11-26T22:41:14+00:00",
 "updated": "2026-11-26T12:18:19.970073+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4038/",
  "https://plugins.svn.wordpress.org/wp-parsidate/tags/6.6/",
  "https://wordpress.org/plugins/wp-parsidate/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-parsidate",
 "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-11-26"
 }
}