{
 "id": "WPSEC-2026-4727",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4727/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4727/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4727/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4727.json",
 "title": "Urvanov Syntax Highlighter <= 2.9.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Backquote Conversion",
 "description": "The urvanov-syntax-highlighter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the backquote-to-code conversion of post content in all versions up to, and including, 2.9.4 due to the plugin applying a regular expression across the entire rendered content, including inside HTML tags, attributes, comments and raw-text elements, and inserting the captured text between <code> tags without escaping. Because this transformation runs after WordPress sanitizes the content, backticks placed in otherwise safe attributes can be used to break out of the surrounding markup. 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": "urvanov-syntax-highlighter",
  "name": "Urvanov Syntax Highlighter",
  "full_name": "Urvanov Syntax Highlighter",
  "wordpress_org": "https://wordpress.org/plugins/urvanov-syntax-highlighter/",
  "advisories_url": "https://wpsec.com/vuln/plugin/urvanov-syntax-highlighter/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/urvanov-syntax-highlighter"
 },
 "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": "2.9.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.9.5"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.9.5",
 "remediation": "Update to 2.9.5 or later.",
 "fix_released": "2026-12-05T16:12:41+00:00",
 "published": "2026-12-06T16:41:45+00:00",
 "updated": "2026-12-06T12:21:06.411075+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4727/",
  "https://plugins.svn.wordpress.org/urvanov-syntax-highlighter/tags/2.9.5/",
  "https://wordpress.org/plugins/urvanov-syntax-highlighter/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/urvanov-syntax-highlighter",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Low",
  "as_of": "2026-12-06"
 }
}