{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/57463?format=json","vulnerability_id":"VCID-n6y1-hxus-7kaj","summary":"XWiki's required right warnings for macros are incomplete\nWhen 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.","aliases":[{"alias":"CVE-2025-49582"},{"alias":"GHSA-c32m-27pj-4xcj"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/85474?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.4.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/85475?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.10.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.10.3"},{"url":"http://public2.vulnerablecode.io/api/packages/85476?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@17.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@17.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/85461?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.4.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/85462?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.10.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.10.3"},{"url":"http://public2.vulnerablecode.io/api/packages/85463?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@17.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@17.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/85496?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.4.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/85497?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.10.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.10.3"},{"url":"http://public2.vulnerablecode.io/api/packages/85498?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@17.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@17.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/85481?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.4.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/85489?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.10.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.10.3"},{"url":"http://public2.vulnerablecode.io/api/packages/85490?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@17.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@17.0.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/85471?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@15.9-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@15.9-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85472?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@16.5.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85473?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-cache@17.0.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85458?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@15.9-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@15.9-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85459?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@16.5.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85460?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-context@17.0.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85493?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@15.9-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@15.9-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85494?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@16.5.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85495?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-xwiki@17.0.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/84972?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@15.9-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-kctr-zbh1-skah"},{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@15.9-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85479?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"},{"vulnerability":"VCID-tmnd-btu7-qqe3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@16.5.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/85488?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-n6y1-hxus-7kaj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default@17.0.0-rc-1"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49582","reference_id":"","reference_type":"","scores":[{"value":"0.01311","scoring_system":"epss","scoring_elements":"0.80166","published_at":"2026-06-08T12:55:00Z"},{"value":"0.01311","scoring_system":"epss","scoring_elements":"0.80187","published_at":"2026-06-09T12:55:00Z"},{"value":"0.01311","scoring_system":"epss","scoring_elements":"0.80179","published_at":"2026-06-06T12:55:00Z"},{"value":"0.01311","scoring_system":"epss","scoring_elements":"0.80175","published_at":"2026-06-05T12:55:00Z"},{"value":"0.01311","scoring_system":"epss","scoring_elements":"0.80174","published_at":"2026-06-07T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49582"},{"reference_url":"https://github.com/xwiki/xwiki-platform","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-22758","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-22758"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-22759","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-22759"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-22763","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-22763"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-22799","reference_id":"","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-22799"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49582","reference_id":"CVE-2025-49582","reference_type":"","scores":[{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49582"},{"reference_url":"https://github.com/advisories/GHSA-c32m-27pj-4xcj","reference_id":"GHSA-c32m-27pj-4xcj","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-c32m-27pj-4xcj"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj","reference_id":"GHSA-c32m-27pj-4xcj","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"8.6","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-13T17:22:59Z/"}],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj"}],"weaknesses":[{"cwe_id":357,"name":"Insufficient UI Warning of Dangerous Operations","description":"The user interface provides a warning to a user regarding dangerous or sensitive operations, but the warning is not noticeable enough to warrant attention."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-n6y1-hxus-7kaj"}