Skip to content
Heist/ feed
Back to feed
Critical

org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro

Type: advisorySources: OSV

XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-29205
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:01 UTC · Revision 1

Source evidence

org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro

core-osv · Original source

Published 15 Apr 2023, 15:27 UTC

XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.

osv:CVE-2023-29205
Complete source record
{
  "id": "61586bf6a0128ef1cd5fe314969964e7d40f1a88acf1f2282307310c48cadeac",
  "url": "https://osv.dev/vulnerability/CVE-2023-29205",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro",
    "summary": "XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.",
    "evidence": "osv:CVE-2023-29205",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-29205",
      "aliases": [
        "CVE-2023-29205",
        "GHSA-vxf7-mx22-jr24"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1194236d6104ade6659cd887e1bb9f3c10821e26"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "14.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "acc705b74de6b7cc24defcfa05edf6931c4cb12a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "14.8-rc-1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "14.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "xwiki-commons-14.7",
            "xwiki-commons-14.7-rc-1",
            "xwiki-commons-8.3-milestone-2",
            "xwiki-commons-8.3-milestone-1",
            "xwiki-commons-8.2-milestone-2",
            "xwiki-commons-8.2-milestone-1",
            "xwiki-commons-8.1-milestone-2",
            "xwiki-commons-8.1-milestone-1",
            "xwiki-commons-8.0-milestone-2",
            "xwiki-commons-8.0-milestone-1",
            "xwiki-platform-9.9-rc-2",
            "xwiki-platform-8.3-milestone-1",
            "xwiki-platform-8.2-milestone-2",
            "xwiki-platform-8.2-milestone-1",
            "xwiki-platform-8.1-milestone-2",
            "xwiki-platform-8.1-milestone-1",
            "xwiki-platform-8.0-milestone-2",
            "xwiki-platform-8.0-milestone-1",
            "xwiki-platform-7.4-milestone-2",
            "xwiki-platform-7.4-milestone-1",
            "xwiki-platform-7.3-milestone-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-29205.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.049513882Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-18568",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29205.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxf7-mx22-jr24",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-29205"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29205.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-29205",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504437,
  "published_at": "2023-04-15T15:27:05.815+00:00"
}