{"answers":{"affected":"6 open source packages ship an affected version, including org.xwiki.commons:xwiki-commons-xml. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-26055 in the wild and no public exploit code.","fix":"Upgrade org.xwiki.commons:xwiki-commons-xml to a fixed version for your release line: 14.4.4, 14.7-rc-1 or 13.10.9.","what":"CVE-2023-26055 is a critical code injection vulnerability in xwiki-commons, published on 2 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26055 and fix it if it is affected.\n\nWhat it is: CVE-2023-26055 is a critical code injection vulnerability in xwiki-commons, published on 2 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-26055 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 14.0-rc-1; fixed in 14.4.4\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 14.0-rc-1; fixed in 14.4.4\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 14.5; fixed in 14.7-rc-1\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 14.5; fixed in 14.7-rc-1\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 3.1-milestone-1; fixed in 13.10.9\n- org.xwiki.commons:xwiki-commons-xml (Maven): affected from 3.1-milestone-1; fixed in 13.10.9\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-2023-26055/ (Markdown: https://insights.sbomify.com/CVE-2023-26055/index.md)","id":"CVE-2023-26055","markdown":"https://insights.sbomify.com/CVE-2023-26055/index.md","name":"CVE-2023-26055","record":{"aliases":["GHSA-8cw6-4r32-6r3h"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"XWiki Commons library","requires_auth":"low_privilege","summary":"Attackers can inject code via user profile fields to execute arbitrary code with programming rights, requiring a patch in XWiki Commons.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"commons","vendor":"xwiki"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"XWiki Commons are technical libraries common to several other top level XWiki projects. Starting in version 3.1-milestone-1, any user can edit their own profile and inject code, which is going to be executed with programming right. The same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using Apps Within Minutes that use a short text field. The problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XWiki Commons may allow privilege escalation to programming rights via user's first name","id":"CVE-2023-26055","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":6,"n_references":4,"next":{"headline":"XWiki Platform allows macro execution as any user without programming rights through the context macro","id":"CVE-2023-26056"},"packages":[{"ecosystem":"Maven","fixed":["14.4.4"],"introduced":["14.0-rc-1"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":null,"source":"GHSA-8cw6-4r32-6r3h"},{"ecosystem":"Maven","fixed":["14.4.4"],"introduced":["14.0-rc-1"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-xml","source":"GHSA-8cw6-4r32-6r3h"},{"ecosystem":"Maven","fixed":["14.7-rc-1"],"introduced":["14.5"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":null,"source":"GHSA-8cw6-4r32-6r3h"},{"ecosystem":"Maven","fixed":["14.7-rc-1"],"introduced":["14.5"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-xml","source":"GHSA-8cw6-4r32-6r3h"},{"ecosystem":"Maven","fixed":["13.10.9"],"introduced":["3.1-milestone-1"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":null,"source":"GHSA-8cw6-4r32-6r3h"},{"ecosystem":"Maven","fixed":["13.10.9"],"introduced":["3.1-milestone-1"],"last_affected":[],"package":"org.xwiki.commons:xwiki-commons-xml","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-xml","source":"GHSA-8cw6-4r32-6r3h"}],"prev":{"headline":"Credentials inlined to Git URLs could end up in provenance attestation in BuildKit","id":"CVE-2023-26054"},"products":["xwiki-commons"],"published":"2023-03-02","related":[{"cvss_score":9.1,"headline":"HTML sanitizer allows form elements in restricted in org.xwiki.commons:xwiki-commons-xml","id":"CVE-2023-36471","kev_date_added":null,"published":"2023-06-29"},{"cvss_score":9.1,"headline":"Cross-site Scripting in org.xwiki.commons:xwiki-commons-xml","id":"CVE-2023-29528","kev_date_added":null,"published":"2023-04-20"},{"cvss_score":4.9,"headline":"Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml","id":"CVE-2022-24898","kev_date_added":null,"published":"2022-04-28"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["xwiki"]},"summary":"Attackers can inject code via user profile fields to execute arbitrary code with programming rights, requiring a patch in XWiki Commons.","url":"https://insights.sbomify.com/CVE-2023-26055/"}