{"answers":{"affected":"3 open source packages ship an affected version, including products-atcontenttypes and Products.ATContentTypes. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23599 in the wild and no public exploit code.","fix":"Upgrade products-atcontenttypes to 3.0.6 or later.","what":"CVE-2022-23599 is a medium-severity cross-site scripting vulnerability in Plone Plone, published on 28 Jan 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-23599 and fix it if it is affected.\n\nWhat it is: CVE-2022-23599 is a medium-severity cross-site scripting vulnerability in Plone Plone, published on 28 Jan 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-23599 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- products-atcontenttypes (PyPI): affected all versions; fixed in 3.0.6\n- products-atcontenttypes (PyPI): affected all versions; fixed in 3.0.6\n- Products.ATContentTypes (PyPI): affected all versions; fixed in 3.0.6\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-23599/ (Markdown: https://insights.sbomify.com/CVE-2022-23599/index.md)","id":"CVE-2022-23599","markdown":"https://insights.sbomify.com/CVE-2022-23599/index.md","name":"CVE-2022-23599","record":{"aliases":["GHSA-g4c2-ghfg-g5rh","PYSEC-2022-21"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Plone CMS","requires_auth":"none","summary":"Attackers can inject scripts or redirect users via cache poisoning in Plone's image view, affecting visitors with cached pages.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"plone","vendor":"plone"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Products.ATContentTypes are the core content types for Plone 2.1 - 4.3. Versions of Plone that are dependent on Products.ATContentTypes prior to version 3.0.6 are vulnerable to reflected cross site scripting and open redirect when an attacker can get a compromised version of the image_view_fullscreen page in a cache, for example in Varnish. The technique is known as cache poisoning. Any later visitor can get redirected when clicking on a link on this page. Usually only anonymous users are affected, but this depends on the user's cache settings. Version 3.0.6 of Products.ATContentTypes has been released with a fix. This version works on Plone 5.2, Python 2 only. As a workaround, make sure the image_view_fullscreen page is not stored in the cache. More information about the vulnerability and cvmitigation measures is available in the GitHub Security Advisory.","ecosystems":["PyPI"],"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":"Cross-site Scripting and Open Redirect in Products.ATContentTypes","id":"CVE-2022-23599","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"plone:plone","products":["plone:plone"],"type":"xss","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Limited ability to spoof SAML authentication with missing audience verification","id":"CVE-2022-23600"},"packages":[{"ecosystem":"PyPI","fixed":["3.0.6"],"introduced":["0"],"last_affected":[],"package":"Products.ATContentTypes","purl":null,"source":"GHSA-g4c2-ghfg-g5rh"},{"ecosystem":"PyPI","fixed":["3.0.6"],"introduced":["0"],"last_affected":[],"package":"products-atcontenttypes","purl":"pkg:pypi/products-atcontenttypes","source":"GHSA-g4c2-ghfg-g5rh"},{"ecosystem":"PyPI","fixed":["3.0.6"],"introduced":["0"],"last_affected":[],"package":"products-atcontenttypes","purl":"pkg:pypi/products-atcontenttypes","source":"PYSEC-2022-21"}],"prev":{"headline":"Reflected XSS vulnerability when rendering error messages in laminas-form","id":"CVE-2022-23598"},"products":["n/a"],"published":"2022-01-28","related":[{"cvss_score":9.9,"headline":"Incorrect Permission Assignment for Critical Resource in Plone","id":"CVE-2021-33509","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2020-35190","kev_date_added":null,"published":"2020-12-17"},{"cvss_score":9.8,"headline":"Plone Unauthenticated Write Vulnerability","id":"CVE-2020-7941","kev_date_added":null,"published":"2020-01-23"},{"cvss_score":9.3,"headline":"Zope Command Execution Vulnerability","id":"CVE-2011-3587","kev_date_added":null,"published":"2011-10-10"},{"cvss_score":8.8,"headline":"Server-Side Request Forgery in Plone CMS","id":"CVE-2021-33926","kev_date_added":null,"published":"2023-02-17"},{"cvss_score":8.8,"headline":"Improper Restriction of XML External Entity Reference in Plone","id":"CVE-2020-28734","kev_date_added":null,"published":"2020-12-30"},{"cvss_score":8.8,"headline":"SSRF attacks via tracebacks in Plone","id":"CVE-2020-28735","kev_date_added":null,"published":"2020-12-30"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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-05-05","vendors":["n/a"]},"summary":"Attackers can inject scripts or redirect users via cache poisoning in Plone's image view, affecting visitors with cached pages.","url":"https://insights.sbomify.com/CVE-2022-23599/"}