{"url":"http://public2.vulnerablecode.io/api/packages/85447?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-wikimacro-store@17.0.0-rc-1","type":"maven","namespace":"org.xwiki.platform","name":"xwiki-platform-rendering-wikimacro-store","version":"17.0.0-rc-1","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"17.0.0","latest_non_vulnerable_version":"17.0.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/57459?format=json","vulnerability_id":"VCID-74da-812b-vbfp","summary":"XWiki allows remote code execution through default value of wiki macro wiki-type parameters\nAny user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation and thus impacts its confidentiality, integrity and availability. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the `children` macro that is used in a page that has programming right like the page `XWiki.ChildrenMacro` and thus allows arbitrary script macros. The full reproduction steps can be found in the [original issue](https://jira.xwiki.org/browse/XWIKI-22760).","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49581","reference_id":"","reference_type":"","scores":[{"value":"0.03875","scoring_system":"epss","scoring_elements":"0.88483","published_at":"2026-06-09T12:55:00Z"},{"value":"0.03875","scoring_system":"epss","scoring_elements":"0.88466","published_at":"2026-06-08T12:55:00Z"},{"value":"0.03875","scoring_system":"epss","scoring_elements":"0.88467","published_at":"2026-06-06T12:55:00Z"},{"value":"0.03875","scoring_system":"epss","scoring_elements":"0.88465","published_at":"2026-06-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49581"},{"reference_url":"https://github.com/xwiki/xwiki-platform","reference_id":"","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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/c99d501ed41cbee6a3c02ff927714531570789de","reference_id":"","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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-13T16:24:56Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/c99d501ed41cbee6a3c02ff927714531570789de"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-22760","reference_id":"","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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-13T16:24:56Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-22760"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49581","reference_id":"CVE-2025-49581","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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-49581"},{"reference_url":"https://github.com/advisories/GHSA-9875-cw22-f7cx","reference_id":"GHSA-9875-cw22-f7cx","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-9875-cw22-f7cx"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9875-cw22-f7cx","reference_id":"GHSA-9875-cw22-f7cx","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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-13T16:24:56Z/"}],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9875-cw22-f7cx"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/85450?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-wikimacro-store@17.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-wikimacro-store@17.0.0"}],"aliases":["CVE-2025-49581","GHSA-9875-cw22-f7cx"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-74da-812b-vbfp"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-wikimacro-store@17.0.0-rc-1"}