{"answers":{"affected":"2 open source packages ship an affected version, including @plone/volto. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24740 in the wild and no public exploit code.","fix":"Upgrade @plone/volto to 15.0.0-alpha.0 or later.","what":"CVE-2022-24740 is a medium-severity authentication bypass vulnerability in plone volto, published on 14 Mar 2022. 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-2022-24740 and fix it if it is affected.\n\nWhat it is: CVE-2022-24740 is a medium-severity authentication bypass vulnerability in plone volto, published on 14 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-24740 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @plone/volto (npm): affected from 14.0.0-alpha.6; fixed in 15.0.0-alpha.0\n- @plone/volto (npm): affected from 14.0.0-alpha.6; fixed in 15.0.0-alpha.0\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-2022-24740/ (Markdown: https://insights.sbomify.com/CVE-2022-24740/index.md)","id":"CVE-2022-24740","markdown":"https://insights.sbomify.com/CVE-2022-24740/index.md","name":"CVE-2022-24740","record":{"aliases":["GHSA-cfhh-xgwq-5r67"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Plone CMS frontend","requires_auth":"none","summary":"An attacker can hijack user sessions by replacing authentication cookies under high load, leading to account takeover and privilege escalation in Volto.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"volto","vendor":"plone"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Volto is a ReactJS-based frontend for the Plone Content Management System. Between versions 14.0.0-alpha.5 and 15.0.0-alpha.0, a user could have their authentication cookie replaced with an authentication cookie from another user, effectively giving them control of the other user's account and privileges. This occurs when using an outdated version of the `react-cookie` library and a server is under high load. A proof of concept does not currently exist, but it is possible for this issue to occur in the wild. The patch and fix is present in Volto 15.0.0-alpha.0. As a workaround, one may manually upgrade the `react-cookie` package to 4.1.1 and then override all Volto components that use this library.","ecosystems":["npm"],"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":"Improper Authentication in Volto","id":"CVE-2022-24740","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"High memory usage in Nextcloud server","id":"CVE-2022-24741"},"packages":[{"ecosystem":"npm","fixed":["15.0.0-alpha.0"],"introduced":["14.0.0-alpha.6"],"last_affected":[],"package":"@plone/volto","purl":null,"source":"GHSA-cfhh-xgwq-5r67"},{"ecosystem":"npm","fixed":["15.0.0-alpha.0"],"introduced":["14.0.0-alpha.6"],"last_affected":[],"package":"@plone/volto","purl":"pkg:npm/%40plone/volto","source":"GHSA-cfhh-xgwq-5r67"}],"prev":{"headline":"Server-Side Request Forgery (SSRF) and URL Redirection to Untrusted Site ('Open Redirect') in alltube","id":"CVE-2022-24739"},"products":["volto"],"published":"2022-03-14","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":"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":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["plone"]},"summary":"An attacker can hijack user sessions by replacing authentication cookies under high load, leading to account takeover and privilege escalation in Volto.","url":"https://insights.sbomify.com/CVE-2022-24740/"}