{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/18359?format=json","vulnerability_id":"VCID-q2b9-583a-9yd9","summary":"XWiki Platform allows remote code execution from user account\n### Impact\nWhen an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account.\n\nTo reproduce, as a user without script nor programming rights, edit the about section of your user profile and add `{{groovy}}services.logging.getLogger(\"attacker\").error(\"Hello from Groovy!\"){{/groovy}}`.\nAs an admin, go to the user profile and click the \"Disable this account\" button.\nThen, reload the page. If the logs show `attacker - Hello from Groovy!` then the instance is vulnerable.\n\n### Patches\nThis has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.\n\n### Workarounds\nWe're not aware of any workaround except upgrading.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-21611\n* https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","aliases":[{"alias":"CVE-2024-37899"},{"alias":"GHSA-j584-j2vj-3f93"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/55120?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.21","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.21"},{"url":"http://public2.vulnerablecode.io/api/packages/55122?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.5"},{"url":"http://public2.vulnerablecode.io/api/packages/55124?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.6"},{"url":"http://public2.vulnerablecode.io/api/packages/55126?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/145720?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.4.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-q2b9-583a-9yd9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/81512?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.10.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-q2b9-583a-9yd9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.10.3"},{"url":"http://public2.vulnerablecode.io/api/packages/58495?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3ksc-nvrc-6ub3"},{"vulnerability":"VCID-64wz-61e9-97h4"},{"vulnerability":"VCID-6keh-puhm-6kc7"},{"vulnerability":"VCID-gtbq-9wht-6qg2"},{"vulnerability":"VCID-jwfk-c9aq-5qbz"},{"vulnerability":"VCID-q2b9-583a-9yd9"},{"vulnerability":"VCID-sr4u-a9ek-u3g9"},{"vulnerability":"VCID-tue2-pwje-qqfz"},{"vulnerability":"VCID-zv2f-hpz1-ruba"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/63032?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4mj5-repk-zyg2"},{"vulnerability":"VCID-gtbq-9wht-6qg2"},{"vulnerability":"VCID-jwfk-c9aq-5qbz"},{"vulnerability":"VCID-q2b9-583a-9yd9"},{"vulnerability":"VCID-sr4u-a9ek-u3g9"},{"vulnerability":"VCID-zv2f-hpz1-ruba"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/55125?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2act-yfey-vfgf"},{"vulnerability":"VCID-f872-dkzj-ufac"},{"vulnerability":"VCID-q2b9-583a-9yd9"},{"vulnerability":"VCID-zv2f-hpz1-ruba"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37899","reference_id":"","reference_type":"","scores":[{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94343","published_at":"2026-04-04T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94363","published_at":"2026-04-13T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94362","published_at":"2026-04-12T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94361","published_at":"2026-04-11T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94358","published_at":"2026-04-09T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94353","published_at":"2026-04-08T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94344","published_at":"2026-04-07T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94333","published_at":"2026-04-02T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94425","published_at":"2026-05-12T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94419","published_at":"2026-05-11T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94411","published_at":"2026-05-09T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94399","published_at":"2026-05-07T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.9439","published_at":"2026-05-05T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94387","published_at":"2026-04-26T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94386","published_at":"2026-04-21T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94384","published_at":"2026-04-29T12:55:00Z"},{"value":"0.14126","scoring_system":"epss","scoring_elements":"0.94378","published_at":"2026-04-16T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37899"},{"reference_url":"https://github.com/xwiki/xwiki-platform","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/046c36519a2df392c922c16d0d38472b98c414d0","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform/commit/046c36519a2df392c922c16d0d38472b98c414d0"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/233b08b26580df4b7a595882dac65ed4e4a2419c","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform/commit/233b08b26580df4b7a595882dac65ed4e4a2419c"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/2b55c29562ccd20f8f0f85075f0c95b4ee9cd9be","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform/commit/2b55c29562ccd20f8f0f85075f0c95b4ee9cd9be"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/f8409419c5d0ddefe1bee55e73629a54275fa735","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform/commit/f8409419c5d0ddefe1bee55e73629a54275fa735"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-06-27T18:36:25Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-06-27T18:36:25Z/"}],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-21611","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-06-27T18:36:25Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-21611"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37899","reference_id":"","reference_type":"","scores":[{"value":"9.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37899"},{"reference_url":"https://github.com/advisories/GHSA-j584-j2vj-3f93","reference_id":"GHSA-j584-j2vj-3f93","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-j584-j2vj-3f93"}],"weaknesses":[{"cwe_id":266,"name":"Incorrect Privilege Assignment","description":"A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor."},{"cwe_id":94,"name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."},{"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":"9.0 - 10.0","exploitability":"0.5","weighted_severity":"9.0","risk_score":4.5,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-q2b9-583a-9yd9"}