{"answers":{"affected":"2 open source packages ship an affected version, including typo3/cms.","exploited":"There is no known exploitation of GHSA-9895-53fc-98v2 in the wild and no public exploit code.","fix":"Upgrade typo3/cms to 6.2.18 or later.","what":"GHSA-9895-53fc-98v2 is a SQL injection vulnerability in typo3/cms, published on 3 Jun 2024. It can be exploited over the network."},"fix_prompt":"Check this codebase for GHSA-9895-53fc-98v2 and fix it if it is affected.\n\nWhat it is: GHSA-9895-53fc-98v2 is a SQL injection vulnerability in typo3/cms, published on 3 Jun 2024. It can be exploited over the network.\nExploitation: There is no known exploitation of GHSA-9895-53fc-98v2 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms (Packagist): affected from 6.2.0; fixed in 6.2.18\n- typo3/cms (Packagist): affected from 6.2.0; fixed in 6.2.18\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/GHSA-9895-53fc-98v2/ (Markdown: https://insights.sbomify.com/GHSA-9895-53fc-98v2/index.md)","id":"GHSA-9895-53fc-98v2","markdown":"https://insights.sbomify.com/GHSA-9895-53fc-98v2/index.md","name":"GHSA-9895-53fc-98v2","record":{"aliases":[],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"TYPO3 dbal extension","requires_auth":"unknown","summary":"SQL injection in TYPO3 dbal extension allows attackers to manipulate database queries when MySQL passthrough mode is enabled.","user_interaction":"unknown","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"A flaw in the database escaping API results in a SQL injection vulnerability when extension dbal is enabled and configured for MySQL passthrough mode in its extension configuration. All queries which use the DatabaseConnection::sql_query are vulnerable, even if arguments were properly escaped with DatabaseConnection::quoteStr beforehand.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"TYPO3 SQL Injection in dbal","id":"GHSA-9895-53fc-98v2","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["6.2.18"],"introduced":["6.2.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-9895-53fc-98v2"},{"ecosystem":"Packagist","fixed":["6.2.18"],"introduced":["6.2.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-9895-53fc-98v2"}],"products":null,"published":"2024-06-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"SQL injection in TYPO3 dbal extension allows attackers to manipulate database queries when MySQL passthrough mode is enabled.","url":"https://insights.sbomify.com/GHSA-9895-53fc-98v2/"}