{"answers":{"affected":"4 open source packages ship an affected version, including cakephp/cakephp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23643 exists.","fix":"Upgrade cakephp/cakephp to a fixed version for your release line: 5.2.12 or 5.3.1.","what":"CVE-2026-23643 is a medium-severity cross-site scripting vulnerability in cakephp, published on 16 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-23643 and fix it if it is affected.\n\nWhat it is: CVE-2026-23643 is a medium-severity cross-site scripting vulnerability in cakephp, published on 16 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23643 exists.\n\nAffected packages and fixed versions:\n- cakephp/cakephp (Packagist): affected from 5.2.10; fixed in 5.2.12\n- cakephp/cakephp (Packagist): affected from 5.2.10; fixed in 5.2.12\n- cakephp/cakephp (Packagist): affected from 5.3.0; fixed in 5.3.1\n- cakephp/cakephp (Packagist): affected from 5.3.0; fixed in 5.3.1\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-23643/ (Markdown: https://insights.sbomify.com/CVE-2026-23643/index.md)","id":"CVE-2026-23643","markdown":"https://insights.sbomify.com/CVE-2026-23643/index.md","name":"CVE-2026-23643","record":{"aliases":["GHSA-qh8m-9qxx-53m5","UBUNTU-CVE-2026-23643"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CakePHP framework","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in user browsers via reflected XSS in CakePHP's PaginatorHelper limit control.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cakephp","vendor":"cakephp"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"CakePHP is a rapid development framework for PHP. The PaginatorHelper::limitControl() method has a cross-site-scripting vulnerability via query string parameter manipulation. This issue has been fixed in 5.2.12 and 5.3.1.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting","id":"CVE-2026-23643","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages","id":"CVE-2026-23644"},"packages":[{"ecosystem":"Packagist","fixed":["5.2.12"],"introduced":["5.2.10"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-qh8m-9qxx-53m5"},{"ecosystem":"Packagist","fixed":["5.2.12"],"introduced":["5.2.10"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-qh8m-9qxx-53m5"},{"ecosystem":"Packagist","fixed":["5.3.1"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-qh8m-9qxx-53m5"},{"ecosystem":"Packagist","fixed":["5.3.1"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-qh8m-9qxx-53m5"}],"prev":{"headline":"Kiteworks Secure Data Forms is vulnerable to Authorization Bypass Through User-Controlled Key","id":"CVE-2026-23638"},"products":["cakephp"],"published":"2026-01-16","related":[{"cvss_score":9.8,"headline":"Database Query::offset() and limit() vulnerable to SQL injection in cakephp","id":"CVE-2023-22727","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":8.8,"headline":"CakePHP allows method override parameters to bypass CSRF checks","id":"CVE-2020-35239","kev_date_added":null,"published":"2021-01-20"},{"cvss_score":8.8,"headline":"CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter","id":"CVE-2015-8379","kev_date_added":null,"published":"2016-01-26"},{"cvss_score":7.5,"headline":"Unsafe deserialization in SmtpTransport in CakePHP","id":"CVE-2019-11458","kev_date_added":null,"published":"2019-05-08"},{"cvss_score":7.5,"headline":"CakePHP allows remote attackers to spoof their IP","id":"CVE-2016-4793","kev_date_added":null,"published":"2017-01-23"},{"cvss_score":5.1,"headline":"CakePHP: Open redirect weakness via backslash bypass","id":"CVE-2026-55590","kev_date_added":null,"published":"2026-07-09"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-16","vendors":["cakephp"]},"summary":"Attackers can execute arbitrary scripts in user browsers via reflected XSS in CakePHP's PaginatorHelper limit control.","url":"https://insights.sbomify.com/CVE-2026-23643/"}