{"answers":{"affected":"6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-webjars-api.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48047 exists.","fix":"Upgrade org.xwiki.platform:xwiki-platform-webjars-api to a fixed version for your release line: 17.4.9, 17.10.3 or 16.10.17.","what":"CVE-2026-48047 is a medium-severity path traversal vulnerability in xwiki-platform, published on 7 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48047 and fix it if it is affected.\n\nWhat it is: CVE-2026-48047 is a medium-severity path traversal vulnerability in xwiki-platform, published on 7 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48047 exists.\n\nAffected packages and fixed versions:\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 17.0.0-rc-1; fixed in 17.4.9\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 17.0.0-rc-1; fixed in 17.4.9\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 17.5.0-rc-1; fixed in 17.10.3\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 17.5.0-rc-1; fixed in 17.10.3\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 9.6-rc-1; fixed in 16.10.17\n- org.xwiki.platform:xwiki-platform-webjars-api (Maven): affected from 9.6-rc-1; fixed in 16.10.17\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48047/ (Markdown: https://insights.sbomify.com/CVE-2026-48047/index.md)","id":"CVE-2026-48047","markdown":"https://insights.sbomify.com/CVE-2026-48047/index.md","name":"CVE-2026-48047","record":{"aliases":["GHSA-vgwr-23fq-pr7g"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"XWiki Platform","requires_auth":"high_privilege","summary":"A subwiki admin can install a malicious WebJar extension to write arbitrary files via path traversal, potentially overriding configurations or resetting the superadmin password.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"XWiki Platform WebJars API is a package for XWiki, a generic wiki platform. Starting with version 9.6-rc-1 and prior to versions 16.10.17, 17.4.9, and 17.10.3, a potential path traversal vulnerability allow an attacker who manages to get a malicious WebJar extension installed on the wiki to write arbitrary files. While the consequences could be severe like overriding configuration files and setting the superadmin password, the attack first requires that the attacker already has admin access to at least a subwiki to be able to install a malicious extension. Further, the attacker needs to publish a malicious extension in an extension repository that is configured in the instance. This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1. XWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin","id":"CVE-2026-48047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":3,"next":{"headline":"XWiki Platform's Livetable results still allow reconstructing password hashes using 768 requests","id":"CVE-2026-48048"},"packages":[{"ecosystem":"Maven","fixed":["17.4.9"],"introduced":["17.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":null,"source":"GHSA-vgwr-23fq-pr7g"},{"ecosystem":"Maven","fixed":["17.4.9"],"introduced":["17.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api","source":"GHSA-vgwr-23fq-pr7g"},{"ecosystem":"Maven","fixed":["17.10.3"],"introduced":["17.5.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":null,"source":"GHSA-vgwr-23fq-pr7g"},{"ecosystem":"Maven","fixed":["17.10.3"],"introduced":["17.5.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api","source":"GHSA-vgwr-23fq-pr7g"},{"ecosystem":"Maven","fixed":["16.10.17"],"introduced":["9.6-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":null,"source":"GHSA-vgwr-23fq-pr7g"},{"ecosystem":"Maven","fixed":["16.10.17"],"introduced":["9.6-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-webjars-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api","source":"GHSA-vgwr-23fq-pr7g"}],"prev":{"headline":"Streambert Vulnerable to Remote Code Execution (RCE) via Unvalidated Auto-Updater IPC Handler","id":"CVE-2026-48046"},"products":["xwiki-platform"],"published":"2026-08-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["xwiki"]},"summary":"A subwiki admin can install a malicious WebJar extension to write arbitrary files via path traversal, potentially overriding configurations or resetting the superadmin password.","url":"https://insights.sbomify.com/CVE-2026-48047/"}