{"answers":{"affected":"2 open source packages ship an affected version, including org.xwiki.contrib.changerequest:application-changerequest-ui. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-45138 in the wild and no public exploit code.","fix":"Upgrade org.xwiki.contrib.changerequest:application-changerequest-ui to 1.9.2 or later.","what":"CVE-2023-45138 is a critical cross-site scripting vulnerability in xwiki-contrib application-changerequest, published on 12 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-45138 and fix it if it is affected.\n\nWhat it is: CVE-2023-45138 is a critical cross-site scripting vulnerability in xwiki-contrib application-changerequest, published on 12 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-45138 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.xwiki.contrib.changerequest:application-changerequest-ui (Maven): affected from 0.11; fixed in 1.9.2\n- org.xwiki.contrib.changerequest:application-changerequest-ui (Maven): affected from 0.11; fixed in 1.9.2\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-45138/ (Markdown: https://insights.sbomify.com/CVE-2023-45138/index.md)","id":"CVE-2023-45138","markdown":"https://insights.sbomify.com/CVE-2023-45138/index.md","name":"CVE-2023-45138","record":{"aliases":["GHSA-f776-w9v2-7vfj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"XWiki Change Request","requires_auth":"none","summary":"Attackers can inject scripts and execute remote code via change request titles in XWiki Change Request application, affecting users without special rights.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"change_request","vendor":"xwiki"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly. Starting in version 0.11 and prior to version 1.9.2, it's possible for a user without any specific right to perform script injection and remote code execution just by inserting an appropriate title when creating a new Change Request. This vulnerability is particularly critical as Change Request aims at being created by user without any particular rights. The vulnerability has been fixed in Change Request 1.9.2. It's possible to workaround the issue without upgrading by editing the document `ChangeRequest.Code.ChangeRequestSheet` and by performing the same change as in the fix commit.","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":"Change Request Application vulnerable to XSS and remote code execution through change request title","id":"CVE-2023-45138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"fonttools XML External Entity Injection (XXE) Vulnerability","id":"CVE-2023-45139"},"packages":[{"ecosystem":"Maven","fixed":["1.9.2"],"introduced":["0.11"],"last_affected":[],"package":"org.xwiki.contrib.changerequest:application-changerequest-ui","purl":null,"source":"GHSA-f776-w9v2-7vfj"},{"ecosystem":"Maven","fixed":["1.9.2"],"introduced":["0.11"],"last_affected":[],"package":"org.xwiki.contrib.changerequest:application-changerequest-ui","purl":"pkg:maven/org.xwiki.contrib.changerequest/application-changerequest-ui","source":"GHSA-f776-w9v2-7vfj"}],"prev":{"headline":"XWiki Platform XSS with edit right in the create document form for existing pages","id":"CVE-2023-45137"},"products":["application-changerequest"],"published":"2023-10-12","related":[{"cvss_score":7.7,"headline":"Data leak of password hash through xwiki change request","id":"CVE-2023-49280","kev_date_added":null,"published":"2023-12-04"}],"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":"2024-09-18","vendors":["xwiki-contrib"]},"summary":"Attackers can inject scripts and execute remote code via change request titles in XWiki Change Request application, affecting users without special rights.","url":"https://insights.sbomify.com/CVE-2023-45138/"}