{"id":"CVE-2022-23599","aliases":["GHSA-g4c2-ghfg-g5rh","PYSEC-2022-21"],"title":"Cross-site Scripting and Open Redirect in Products.ATContentTypes","summary":"Cross-site Scripting and Open Redirect in Products.ATContentTypes","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","vendor":"products-atcontenttypes","product":"products-atcontenttypes","ecosystem":"pip","affected":["products-atcontenttypes < 3.0.6"],"patched":["products-atcontenttypes 3.0.6"],"published":"2022-01-28","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:27.764192817Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-g4c2-ghfg-g5rh","references":[{"url":"https://github.com/plone/Products.ATContentTypes/security/advisories/GHSA-g4c2-ghfg-g5rh"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23599"},{"url":"https://github.com/plone/Products.ATContentTypes/commit/fc793f88f35a15a68b52e4abed77af0da5fdbab8"},{"url":"https://github.com/plone/Products.ATContentTypes"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/products-atcontenttypes/PYSEC-2022-21.yaml"}],"tags":["osv","pip"],"epss":0.0075,"epssPercentile":0.53006,"ingestedAt":"2026-09-12T03:13:01.694Z","slug":"CVE-2022-23599","body":"## Overview\n\n### Impact\nPlone is 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.\nThe technique is known as cache poisoning.\nAny later visitor can get redirected when clicking on a link on this page.\nUsually only anonymous users are affected, but this depends on your cache settings.\n\n### Patches\nA new version 3.0.6 of Products.ATContentTypes has been released with a fix.\nThis version works on Plone 5.2 (Python 2 only) and will be included in Plone 5.2.7.\n\nNote that the Products.CMFPlone package has the same problem in the 4.3 series.\n`plone.app.contenttypes` has the same problem in all versions, see [advisory](https://github.com/plone/plone.app.contenttypes/security/advisories/GHSA-f7qw-5fgj-247x).\nFor all unpatched versions of the three packages, you can use the following workaround.\n\n### Workaround\nMake sure the image_view_fullscreen page is not stored in the cache.\nIn Plone:\n\n* Login as Manager and go to Site Setup.\n* Go to the 'Caching' control panel. If this does not exist, or 'Enable caching' is not checked, you should normally not be vulnerable.\n* Click on the tab 'Caching operations'.\n* Under 'Legacy template mappings' locate the ruleset 'Content item view'.\n* From the last column ('Templates')  remove 'image_view_fullscreen'.\n* Click on Save.\n\n### Reporter\nThis vulnerability was responsibly disclosed to the Plone Security Team by Gustav Hansen, F-Secure Consulting. Thank you!\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@plone.org](mailto:security@plone.org)\nThis is also the correct address to use when you want to report a possible vulnerability.\nSee [our security report policy](https://plone.org/security/report).\n\n## Affected packages\n\n- `products-atcontenttypes < 3.0.6`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `products-atcontenttypes 3.0.6`","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}