{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.4.5"
              },
              {
                "fixed": "14.10"
              }
            ]
          },
          "events": [
            {
              "introduced": "7624af4939a46405cdfb3ad53e3bef7fc31b615d"
            },
            {
              "fixed": "c524887d154ff8f6df9651e36b904e234bf5a6ef"
            }
          ],
          "repo": "https://github.com/xwiki/xwiki-platform",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f4cbc74736522adb1ab4f0e5e6e108a302a993aa"
            },
            {
              "fixed": "a1e4032cee2940029390a8f7444943e1fcffc1a6"
            }
          ],
          "repo": "https://github.com/xwiki/xwiki-rendering",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w3wh-g4m9-783p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79",
      "CWE-80"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53835.json"
  },
  "details": "XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 5.4.5 and prior to version 14.10, the XHTML syntax depended on the `xdom+xml/current` syntax which allows the creation of raw blocks that permit the insertion of arbitrary HTML content including JavaScript. This allows XSS attacks for users who can edit a document like their user profile (enabled by default). This has been fixed in version 14.10 by removing the dependency on the `xdom+xml/current` syntax from the XHTML syntax. Note that the `xdom+xml` syntax is still vulnerable to this attack. As it's main purpose is testing and its use is quite difficult, this syntax shouldn't be installed or used on a regular wiki. There are no known workarounds apart from upgrading.",
  "id": "CVE-2025-53835",
  "modified": "2026-04-01T23:10:37.061932915Z",
  "published": "2025-07-14T23:00:35.577Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.xwiki.org/browse/XRENDERING-660"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53835.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-53835"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax"
}