Skip to content
Heist/ feed
Back to feed
Medium

XWiki does not require right warnings for notification displayer objects

Type: advisorySources: OSV

XWiki is an open-source wiki software platform. When a user without script right creates a document with an XWiki.Notifications.Code.NotificationDisplayerClass object, and later an admin edits and saves that document, the possibly malicious content of that object is output as raw HTML, allowing XSS attacks. While the notification displayer executes Velocity, the existing generic analyzer already warns admins before editing Velocity code. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This vulnerability has been patched in XWiki 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns the admin before editing about the possibly malicious code.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-49587
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 00:46 UTC · Revision 1

Source evidence

XWiki does not require right warnings for notification displayer objects

core-osv · Original source

Published 13 Jun 2025, 17:51 UTC

XWiki is an open-source wiki software platform. When a user without script right creates a document with an XWiki.Notifications.Code.NotificationDisplayerClass object, and later an admin edits and saves that document, the possibly malicious content of that object is output as raw HTML, allowing XSS attacks. While the notification displayer executes Velocity, the existing generic analyzer already warns admins before editing Velocity code. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This vulnerability has been patched in XWiki 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns the admin before editing about the possibly malicious code.

osv:CVE-2025-49587
Complete source record
{
  "id": "0ef764fc3f3bedb35bafb520ad539e880af323382a9324629de60477341b3685",
  "url": "https://osv.dev/vulnerability/CVE-2025-49587",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XWiki does not require right warnings for notification displayer objects",
    "summary": "XWiki is an open-source wiki software platform. When a user without script right creates a document with an XWiki.Notifications.Code.NotificationDisplayerClass object, and later an admin edits and saves that document, the possibly malicious content of that object is output as raw HTML, allowing XSS attacks. While the notification displayer executes Velocity, the existing generic analyzer already warns admins before editing Velocity code. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This vulnerability has been patched in XWiki 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns the admin before editing about the possibly malicious code.",
    "evidence": "osv:CVE-2025-49587",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-49587",
      "aliases": [
        "CVE-2025-49587",
        "GHSA-j7p2-87q3-44w7"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "943b4a6a0a0e2b9b94f6f184e823f82b262ea8d3"
                },
                {
                  "fixed": "d8a509c53e75e2773666a2824b6f8e24c650419f"
                },
                {
                  "introduced": "918ea43fe0d277c28efa21a871175b329c75157c"
                },
                {
                  "fixed": "c3bb3381253c71df533fe0c31a02d3ce1e04bae7"
                },
                {
                  "introduced": "526fcc68b3f75862a2af7395b5a6dfdd3d2166a5"
                },
                {
                  "fixed": "1da347736459c78e29bcc736468e6c007ea828e6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.9"
                      },
                      {
                        "fixed": "15.10.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "16.0.0"
                      },
                      {
                        "fixed": "16.4.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "16.5.0"
                      },
                      {
                        "fixed": "16.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7a8f9b1236bc9271b607fb92e700377e37f67cf2"
                },
                {
                  "fixed": "110b60483db6e4ba9b1edfc0747a94a81d5296cf"
                },
                {
                  "introduced": "3c6f5cf138d8095f63631e554ba448e4b780e162"
                },
                {
                  "fixed": "f5a9a0762750936523187286919ec4c1892d6fea"
                },
                {
                  "introduced": "177e524c2e218fe5de776619271b7cd12c929488"
                },
                {
                  "fixed": "105d934fe5a2f9a74958fef57cede8436c5cb63c"
                },
                {
                  "fixed": "55c5d568c4dc4619f37397d00d14dcdeab9c252d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.9"
                      },
                      {
                        "fixed": "15.10.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "16.0.0"
                      },
                      {
                        "fixed": "16.4.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "16.5.0"
                      },
                      {
                        "fixed": "16.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "55c5d568c4dc4619f37397d00d14dcdeab9c252d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49587.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.431432657Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-22470",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49587.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-49587",
        "https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-357"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49587.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-49587",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516725,
  "published_at": "2025-06-13T17:51:48.163+00:00"
}