Skip to content
Heist/ feed
Back to feed
Critical

XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet

Type: advisorySources: OSV

XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-31465
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:36 UTC · Revision 1

Source evidence

XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet

core-osv · Original source

Published 10 Apr 2024, 19:12 UTC

XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.

osv:CVE-2024-31465
Complete source record
{
  "id": "b1dadce408affad9e701e8bdd8c701da44ae26d6b57491488c025abec5d68bf2",
  "url": "https://osv.dev/vulnerability/CVE-2024-31465",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet",
    "summary": "XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.",
    "evidence": "osv:CVE-2024-31465",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-31465",
      "aliases": [
        "CVE-2024-31465",
        "GHSA-34fj-r5gq-7395"
      ],
      "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": "13711861b3a6ce3ff5e82db5c6e669993cfacbb2"
                },
                {
                  "fixed": "38f2695758c691f355913cacbbd0477caa8c1716"
                },
                {
                  "introduced": "fdba4ca1398766e912f7888af5bdefbeef60d8b0"
                },
                {
                  "fixed": "5596ee59ff8035c3141aaeddc6e66f119c30574a"
                },
                {
                  "introduced": "1e0e26611ad39442be884e876d902441a51fd34a"
                },
                {
                  "fixed": "a21846242821db564378bb68b1060fa42c632d16"
                },
                {
                  "introduced": "de734344b7332368aa038e6fc5cb926ec1730424"
                },
                {
                  "last_affected": "f763220e119315bb30370699cef31d0d8d272250"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3"
                      },
                      {
                        "fixed": "14.10.20"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.0"
                      },
                      {
                        "fixed": "15.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6"
                      },
                      {
                        "fixed": "15.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:5.2:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2-NA"
                      },
                      {
                        "last_affected": "5.2-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:5.2:milestone2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2-milestone2"
                      },
                      {
                        "last_affected": "5.2-milestone2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4eae63485bbddcaf0a91d354f9e27b9ca01528f6"
                },
                {
                  "fixed": "2f1129b6da6811479225ab79caf2571452d72402"
                },
                {
                  "introduced": "96b4a230ee41ef74268c9720722f6473c705583d"
                },
                {
                  "fixed": "0e37972524b5a68c44734112f38a48e746b0909e"
                },
                {
                  "introduced": "cb249a1a7570161ad6672449fbe89485fb489e95"
                },
                {
                  "fixed": "4605ed423dbd0f2bcbd4d1c5d11f52f4b1861f34"
                },
                {
                  "introduced": "f03ce2959e881a985a85f45bbe2ac581245d09d2"
                },
                {
                  "fixed": "0317a3aa78065e66c86fc725976b06bf7f9b446e"
                },
                {
                  "fixed": "2740974c32dbb7cc565546d0f04e2374b32b36f7"
                },
                {
                  "fixed": "6a7f19f6424036fce3d703413137adde950ae809"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3"
                      },
                      {
                        "fixed": "14.10.20"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.0"
                      },
                      {
                        "fixed": "15.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6"
                      },
                      {
                        "fixed": "15.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:5.2:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2-NA"
                      },
                      {
                        "last_affected": "5.2-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:5.2:milestone2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2-milestone2"
                      },
                      {
                        "last_affected": "5.2-milestone2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0317a3aa78065e66c86fc725976b06bf7f9b446e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2740974c32dbb7cc565546d0f04e2374b32b36f7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6a7f19f6424036fce3d703413137adde950ae809"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.2-NA",
            "5.2-milestone2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31465.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.578741662Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-21474",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31465.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-34fj-r5gq-7395",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-31465",
        "https://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e",
        "https://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7",
        "https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809",
        "https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809#diff-67b473d2b6397d65b7726c6a13555850b11b10128321adf9e627e656e1d130a5"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-95"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31465.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-31465",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493431,
  "published_at": "2024-04-10T19:12:35.517+00:00"
}