{"id":"CVE-2025-49582","published":"2025-06-13T16:41:45Z","modified":"2025-06-13T17:34:44Z","title":"XWiki's required right warnings for macros are incomplete","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki is a generic wiki platform. When editing content that contains \"dangerous\" macros like malicious script macros that were authored by a user with fewer rights, XWiki warns about the execution of these macros since XWiki 15.9RC1. These required rights analyzers that trigger these warnings are incomplete, allowing an attacker to hide malicious content. For most macros, the existing analyzers don't consider non-lowercase parameters. Further, most macro parameters that can contain XWiki syntax like titles of information boxes weren't analyzed at all. Similarly, the \"source\" parameters of the content and context macro weren't anylzed even though they could contain arbitrary XWiki syntax. In the worst case, this could allow a malicious to add malicious script macros including Groovy or Python macros to a page that are then executed after another user with programming righs edits the page, thus allowing remote code execution. The required rights analyzers have been made more robust and extended to cover those cases in XWiki 16.4.7, 16.10.3 and 17.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03421,"percentile":0.89671,"provenance":"source"},"cwes":[{"id":"CWE-357","name":"Insufficient UI Warning of Dangerous Operations"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22758","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22759","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22763","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22799","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":17.93},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 15.9-rc-1, < 16.4.7",">= 16.5.0-rc-1, < 16.10.3",">= 17.0.0-rc-1, < 17.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-06-13T17:22:59.033297Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rendering-xwiki","vulnerableRanges":[">=15.9-rc-1, <16.4.7",">=16.5.0-rc-1, <16.10.3",">=17.0.0-rc-1, <17.0.0"],"patched":["16.4.7","16.10.3","17.0.0"],"from":["GHSA-c32m-27pj-4xcj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rendering-macro-cache","vulnerableRanges":[">=15.9-rc-1, <16.4.7",">=16.5.0-rc-1, <16.10.3",">=17.0.0-rc-1, <17.0.0"],"patched":["16.4.7","16.10.3","17.0.0"],"from":["GHSA-c32m-27pj-4xcj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security-requiredrights-default","vulnerableRanges":[">=15.9-rc-1, <16.4.7",">=16.5.0-rc-1, <16.10.3",">=17.0.0-rc-1, <17.0.0"],"patched":["16.4.7","16.10.3","17.0.0"],"from":["GHSA-c32m-27pj-4xcj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rendering-macro-context","vulnerableRanges":[">=15.9-rc-1, <16.4.7",">=16.5.0-rc-1, <16.10.3",">=17.0.0-rc-1, <17.0.0"],"patched":["16.4.7","16.10.3","17.0.0"],"from":["GHSA-c32m-27pj-4xcj"],"provenance":"source"}],"summary":{"text":"XWiki Platform (the xwiki-platform product) has an incomplete set of required-rights analyzers, which are meant to warn users when content containing dangerous macros, such as script macros, is edited, so that malicious macros can be hidden from those warnings. An attacker with low privileges and network access can exploit this by getting a user to interact with (edit) a crafted page, and once a user with programming rights edits that page, malicious Groovy or Python macros can execute, leading to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:34Z"},"euvd":{"id":"EUVD-2025-18293","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-32974","published":"2025-04-30","fixed":"16.2.0","kev":false,"link":{"from":"CVE-2025-32974","to":"CVE-2025-49582","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default","fromFixed":"16.2.0","toFixed":"16.4.7","daysApart":44}]}},{"cve":"CVE-2025-49585","published":"2025-06-13","fixed":"16.10.2","kev":false,"link":{"from":"CVE-2025-49585","to":"CVE-2025-49582","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default","fromFixed":"16.10.2","toFixed":"16.10.3","daysApart":0}]}},{"cve":"CVE-2025-49582","published":"2025-06-13","fixed":"17.0.0","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default"}}