{"id":"CVE-2022-24898","published":"2022-04-28T19:35:10Z","modified":"2025-04-22T18:02:24Z","title":"Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml","vendor":"xwiki","product":"xwiki-commons","tier":"tail","description":{"text":"org.xwiki.commons:xwiki-commons-xml is a common module used by other XWiki top level projects. Starting in version 2.7 and prior to versions 12.10.10, 13.4.4, and 13.8-rc-1, it is possible for a script to access any file accessing to the user running XWiki application server with XML External Entity Injection through the XML script service. The problem has been patched in versions 12.10.10, 13.4.4, and 13.8-rc-1. There is no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01485,"percentile":0.74646,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18946","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":14.93},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-commons","versions":[">= 2.7, < 12.10.10",">= 13.0, < 13.4.4",">= 13.5-rc-1, <= 13.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:48:15.064637Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.commons:xwiki-commons-xml","vulnerableRanges":[">=2.7, <12.10.10",">=13.0.0, <13.4.4",">=13.5-rc-1, <13.8-rc-1"],"patched":["12.10.10","13.4.4","13.8-rc-1"],"from":["GHSA-m2r5-4w96-qxg5"],"provenance":"source"}],"summary":{"text":"The XML parsing component org.xwiki.commons:xwiki-commons-xml, a common module shared by XWiki top-level projects in the xwiki-commons product, contains an XML External Entity injection flaw in its XML script service. An attacker who holds Script rights can use this flaw over the network to read any file accessible to the user running the XWiki application server, and requires no user interaction and no special configuration beyond holding those rights.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:15Z"},"euvd":{"id":"EUVD-2022-1778","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-24898","published":"2022-04-28","fixed":"13.8-rc-1","kev":false},{"cve":"CVE-2023-29201","published":"2023-04-15","fixed":"14.6-rc-1","kev":false},{"cve":"CVE-2023-26055","published":"2023-03-02","fixed":"14.7-rc-1","kev":false,"link":{"from":"CVE-2022-24898","to":"CVE-2023-26055","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.commons:xwiki-commons-xml","fromFixed":"13.8-rc-1","toFixed":"13.10.9","daysApart":308}]}},{"cve":"CVE-2023-29528","published":"2023-04-20","fixed":"14.10","kev":false}],"package":"Maven:org.xwiki.commons:xwiki-commons-xml"}}