Skip to content
Heist/ feed
Back to feed
Medium

XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right

Type: advisorySources: OSV

XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this object will be used for notifications. No malicious code can be executed, though, as while these templates allow Velocity code, the existing generic analyzer already warns admins before editing Velocity code. The main impact would thus be to send spam, e.g., with phishing links to other users or to hide notifications about other attacks. 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 has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-49583
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:57 UTC · Revision 1

Source evidence

XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right

core-osv · Original source

Published 13 Jun 2025, 17:04 UTC

XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this object will be used for notifications. No malicious code can be executed, though, as while these templates allow Velocity code, the existing generic analyzer already warns admins before editing Velocity code. The main impact would thus be to send spam, e.g., with phishing links to other users or to hide notifications about other attacks. 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 has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.

osv:CVE-2025-49583
Complete source record
{
  "id": "19d91367442e268eed7760d28e3044f3c95a351b6cf6af6d4007a6939a6c4e85",
  "url": "https://osv.dev/vulnerability/CVE-2025-49583",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right",
    "summary": "XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this object will be used for notifications. No malicious code can be executed, though, as while these templates allow Velocity code, the existing generic analyzer already warns admins before editing Velocity code. The main impact would thus be to send spam, e.g., with phishing links to other users or to hide notifications about other attacks. 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 has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.",
    "evidence": "osv:CVE-2025-49583",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-49583",
      "aliases": [
        "CVE-2025-49583",
        "GHSA-ff6v-w58f-v97w"
      ],
      "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:N/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d8a509c53e75e2773666a2824b6f8e24c650419f"
                },
                {
                  "introduced": "918ea43fe0d277c28efa21a871175b329c75157c"
                },
                {
                  "fixed": "c3bb3381253c71df533fe0c31a02d3ce1e04bae7"
                },
                {
                  "introduced": "526fcc68b3f75862a2af7395b5a6dfdd3d2166a5"
                },
                {
                  "fixed": "1da347736459c78e29bcc736468e6c007ea828e6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "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": "0"
                },
                {
                  "fixed": "110b60483db6e4ba9b1edfc0747a94a81d5296cf"
                },
                {
                  "introduced": "3c6f5cf138d8095f63631e554ba448e4b780e162"
                },
                {
                  "fixed": "f5a9a0762750936523187286919ec4c1892d6fea"
                },
                {
                  "introduced": "177e524c2e218fe5de776619271b7cd12c929488"
                },
                {
                  "fixed": "105d934fe5a2f9a74958fef57cede8436c5cb63c"
                },
                {
                  "fixed": "3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "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": "3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "xwiki-commons-16.4.6",
            "xwiki-commons-16.10.1",
            "xwiki-commons-15.10.15",
            "xwiki-commons-16.10.0",
            "xwiki-commons-16.10.0-rc-1",
            "xwiki-commons-15.10.14",
            "xwiki-commons-16.4.5",
            "xwiki-commons-15.10.13",
            "xwiki-commons-16.4.4",
            "xwiki-commons-16.4.3",
            "xwiki-commons-15.10.12",
            "xwiki-commons-16.4.2",
            "xwiki-commons-16.4.1",
            "xwiki-commons-15.10.11",
            "xwiki-commons-16.4.0",
            "xwiki-commons-15.10.10",
            "xwiki-commons-16.4.0-rc-1",
            "xwiki-commons-15.10.9",
            "xwiki-commons-15.10.8",
            "xwiki-commons-15.10.7",
            "xwiki-commons-15.10.6",
            "xwiki-commons-15.10.5",
            "xwiki-commons-15.10.4",
            "xwiki-commons-15.10.3",
            "xwiki-commons-15.10.2",
            "xwiki-commons-15.10.1",
            "xwiki-commons-15.10",
            "xwiki-commons-15.10-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-16.4.6",
            "xwiki-platform-16.10.1",
            "xwiki-platform-15.10.15",
            "xwiki-platform-16.10.0",
            "xwiki-platform-16.10.0-rc-1",
            "xwiki-platform-15.10.14",
            "xwiki-platform-16.4.5",
            "xwiki-platform-15.10.13",
            "xwiki-platform-16.4.4",
            "xwiki-platform-16.4.3",
            "xwiki-platform-15.10.12",
            "xwiki-platform-16.4.2",
            "xwiki-platform-16.4.1",
            "xwiki-platform-15.10.11",
            "xwiki-platform-16.4.0",
            "xwiki-platform-15.10.10",
            "xwiki-platform-16.4.0-rc-1",
            "xwiki-platform-15.10.9",
            "xwiki-platform-15.10.8",
            "xwiki-platform-15.10.7",
            "xwiki-platform-15.10.6",
            "xwiki-platform-15.10.5",
            "xwiki-platform-15.10.4",
            "xwiki-platform-15.10.3",
            "xwiki-platform-15.10.2",
            "xwiki-platform-15.10.1",
            "xwiki-platform-15.10",
            "xwiki-platform-15.10-rc-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-2025-49583.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.929194069Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-22471",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49583.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ff6v-w58f-v97w",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-49583",
        "https://github.com/xwiki/xwiki-platform/commit/3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-270",
          "CWE-357"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49583.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-49583",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504379,
  "published_at": "2025-06-13T17:04:49.975+00:00"
}