{"answers":{"affected":"13 open source packages ship an affected version, including typo3 and bk2k/bootstrap-package. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-21365 in the wild and no public exploit code.","fix":"Upgrade typo3 to a fixed version for your release line: 7.1.2, 8.0.8, 9.0.4 or 9.1.3.","what":"CVE-2021-21365 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 27 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-21365 and fix it if it is affected.\n\nWhat it is: CVE-2021-21365 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 27 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-21365 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3 (Bitnami): affected all versions; fixed in 7.1.2, 8.0.8, 9.0.4, 9.1.3, 10.0.10, 11.0.3\n- bk2k/bootstrap-package (Packagist): affected from 10.0.0; fixed in 10.0.10\n- bk2k/bootstrap-package (Packagist): affected from 10.0.0; fixed in 10.0.10\n- bk2k/bootstrap-package (Packagist): affected from 11.0.0; fixed in 11.0.3\n- bk2k/bootstrap-package (Packagist): affected from 11.0.0; fixed in 11.0.3\n- bk2k/bootstrap-package (Packagist): affected from 7.1.0; fixed in 7.1.2\n- bk2k/bootstrap-package (Packagist): affected from 7.1.0; fixed in 7.1.2\n- bk2k/bootstrap-package (Packagist): affected from 8.0.0; fixed in 8.0.8\n- bk2k/bootstrap-package (Packagist): affected from 8.0.0; fixed in 8.0.8\n- bk2k/bootstrap-package (Packagist): affected from 9.0.0; fixed in 9.0.4\n- bk2k/bootstrap-package (Packagist): affected from 9.0.0; fixed in 9.0.4\n- bk2k/bootstrap-package (Packagist): affected from 9.1.0; fixed in 9.1.3\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-2021-21365/ (Markdown: https://insights.sbomify.com/CVE-2021-21365/index.md)","id":"CVE-2021-21365","markdown":"https://insights.sbomify.com/CVE-2021-21365/index.md","name":"CVE-2021-21365","record":{"aliases":["BIT-typo3-2021-21365","GHSA-p48w-vf3c-rqjx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TYPO3 Bootstrap Package","requires_auth":"low_privilege","summary":"A valid backend user can inject malicious scripts into frontend content rendering in the TYPO3 Bootstrap Package, potentially leading to code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"typo3","vendor":"typo3"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Bootstrap Package is a theme for TYPO3. It has been discovered that rendering content in the website frontend is vulnerable to cross-site scripting. A valid backend user account is needed to exploit this vulnerability. Users of the extension, who have overwritten the affected templates with custom code must manually apply the security fix. Update to version 7.1.2, 8.0.8, 9.1.4, 10.0.10 or 11.0.3 of the Bootstrap Package that fix the problem described. Updated version are available from the TYPO3 extension manager, Packagist and at https://extensions.typo3.org/extension/download/bootstrap_package/.","ecosystems":["Bitnami","Packagist"],"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 in Content Rendering","id":"CVE-2021-21365","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"typo3:typo3","products":["typo3:typo3"],"type":"xss","year":"2021"},"n_packages":13,"n_references":3,"next":{"headline":"Misinterpretation of malicious XML input","id":"CVE-2021-21366"},"packages":[{"ecosystem":"Bitnami","fixed":["7.1.2","8.0.8","9.0.4","9.1.3","10.0.10","11.0.3"],"introduced":["0","8.0.0","9.0.0","9.1.0","10.0.0","11.0.0"],"last_affected":[],"package":"typo3","purl":"pkg:bitnami/typo3","source":"BIT-typo3-2021-21365"},{"ecosystem":"Packagist","fixed":["10.0.10"],"introduced":["10.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["10.0.10"],"introduced":["10.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["11.0.3"],"introduced":["11.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["11.0.3"],"introduced":["11.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["7.1.2"],"introduced":["7.1.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["7.1.2"],"introduced":["7.1.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["8.0.8"],"introduced":["8.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["8.0.8"],"introduced":["8.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["9.0.4"],"introduced":["9.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["9.0.4"],"introduced":["9.0.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["9.1.3"],"introduced":["9.1.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":null,"source":"GHSA-p48w-vf3c-rqjx"},{"ecosystem":"Packagist","fixed":["9.1.3"],"introduced":["9.1.0"],"last_affected":[],"package":"bk2k/bootstrap-package","purl":"pkg:composer/bk2k/bootstrap-package","source":"GHSA-p48w-vf3c-rqjx"}],"prev":{"headline":"Generated Code Contains Local Information Disclosure Vulnerability","id":"CVE-2021-21364"},"products":["bootstrap_package"],"published":"2021-04-27","related":[{"cvss_score":10,"headline":"Indexed Search Engine for TYPO3 Command Execution via Metacharacter Injection","id":"CVE-2009-0258","kev_date_added":null,"published":"2009-01-22"},{"cvss_score":9.8,"headline":"Typo3 SQL injection due to faulty prepared statements","id":"CVE-2011-3583","kev_date_added":null,"published":"2019-11-25"},{"cvss_score":9.8,"headline":"Typo3 Authentication Bypass","id":"CVE-2011-4628","kev_date_added":null,"published":"2019-11-06"},{"cvss_score":8.8,"headline":"Persisted Cross-Site Scripting in Frontend Rendering in typo3","id":"CVE-2023-24814","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":8.8,"headline":"Cross-Site-Request-Forgery in Backend URI Handling in Typo3","id":"CVE-2021-41113","kev_date_added":null,"published":"2021-10-05"},{"cvss_score":8.8,"headline":"Missing Required Cryptographic Step Leading to Sensitive Information Disclosure in TYPO3 CMS","id":"CVE-2020-15098","kev_date_added":null,"published":"2020-07-29"},{"cvss_score":8.8,"headline":"Deserialization of Untrusted Data in TYPO3 CMS","id":"CVE-2020-11067","kev_date_added":null,"published":"2020-05-13"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["benjaminkott"]},"summary":"A valid backend user can inject malicious scripts into frontend content rendering in the TYPO3 Bootstrap Package, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2021-21365/"}