{"answers":{"affected":"4 open source packages ship an affected version, including typo3/cms-core.","exploited":"There is no known exploitation of GHSA-wg8h-gxf4-g4gh in the wild and no public exploit code.","fix":"Upgrade typo3/cms-core to a fixed version for your release line: 8.7.21 or 9.5.2.","what":"GHSA-wg8h-gxf4-g4gh is a cross-site scripting vulnerability in typo3/cms-core, published on 30 May 2024. 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 GHSA-wg8h-gxf4-g4gh and fix it if it is affected.\n\nWhat it is: GHSA-wg8h-gxf4-g4gh is a cross-site scripting vulnerability in typo3/cms-core, published on 30 May 2024. 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 GHSA-wg8h-gxf4-g4gh in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms-core (Packagist): affected from 8.0.0; fixed in 8.7.21\n- typo3/cms-core (Packagist): affected from 8.0.0; fixed in 8.7.21\n- typo3/cms-core (Packagist): affected from 9.0.0; fixed in 9.5.2\n- typo3/cms-core (Packagist): affected from 9.0.0; fixed in 9.5.2\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-wg8h-gxf4-g4gh/ (Markdown: https://insights.sbomify.com/GHSA-wg8h-gxf4-g4gh/index.md)","id":"GHSA-wg8h-gxf4-g4gh","markdown":"https://insights.sbomify.com/GHSA-wg8h-gxf4-g4gh/index.md","name":"GHSA-wg8h-gxf4-g4gh","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"TYPO3 CMS","requires_auth":"low_privilege","summary":"An authenticated backend user can inject malicious scripts via online media assets, leading to cross-site scripting attacks against other users.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Failing to properly encode user input, online media asset rendering (*.youtube and *.vimeo files) is vulnerable to cross-site scripting. A valid backend user account or write access on the server system (e.g. SFTP) is needed in order to exploit this vulnerability.","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 Cross-Site Scripting in Online Media Asset Rendering","id":"GHSA-wg8h-gxf4-g4gh","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["8.7.21"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":null,"source":"GHSA-wg8h-gxf4-g4gh"},{"ecosystem":"Packagist","fixed":["8.7.21"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"GHSA-wg8h-gxf4-g4gh"},{"ecosystem":"Packagist","fixed":["9.5.2"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":null,"source":"GHSA-wg8h-gxf4-g4gh"},{"ecosystem":"Packagist","fixed":["9.5.2"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"GHSA-wg8h-gxf4-g4gh"}],"products":null,"published":"2024-05-30","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":"An authenticated backend user can inject malicious scripts via online media assets, leading to cross-site scripting attacks against other users.","url":"https://insights.sbomify.com/GHSA-wg8h-gxf4-g4gh/"}