{"answers":{"affected":"2 open source packages ship an affected version, including typo3/cms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-6905 in the wild and no public exploit code.","fix":"Upgrade typo3/cms to 9.2.0 or later.","what":"CVE-2018-6905 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 8 Apr 2018. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-6905 and fix it if it is affected.\n\nWhat it is: CVE-2018-6905 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 8 Apr 2018. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-6905 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms (Packagist): affected all versions; fixed in 9.2.0\n- typo3/cms (Packagist): affected all versions; fixed in 9.2.0\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-2018-6905/ (Markdown: https://insights.sbomify.com/CVE-2018-6905/index.md)","id":"CVE-2018-6905","markdown":"https://insights.sbomify.com/CVE-2018-6905/index.md","name":"CVE-2018-6905","record":{"aliases":["GHSA-3w22-wrwx-2r75"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TYPO3 CMS","requires_auth":"high_privilege","summary":"An attacker with admin privileges can inject malicious scripts via the site name configuration, leading to cross-site scripting attacks.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"typo3","vendor":"typo3"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The page module in TYPO3 before 8.7.11, and 9.1.0, has XSS via $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'], as demonstrated by an admin entering a crafted site name during the installation process.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2018-04-08","github_poc":2,"max_poc_stars":5,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-04-08T06:34:34Z","kind":"github_poc","ref":"https://github.com/pradeepjairamani/TYPO3-XSS-POC","stars":5,"title":"Typo3 -v9.1.0 Persistent Cross Site Scripting(XSS) Assigned CVE Number: CVE-2018-6905"},{"date":"2021-06-02T07:37:42Z","kind":"github_poc","ref":"https://github.com/dnr6419/CVE-2018-6905","stars":0,"title":"typo3 install.php XSS"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Typo3 XSS Vulnerability","id":"CVE-2018-6905","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"typo3:typo3","products":["typo3:typo3"],"type":"xss","year":"2018"},"n_packages":2,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-6906"},"packages":[{"ecosystem":"Packagist","fixed":["9.2.0"],"introduced":["0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-3w22-wrwx-2r75"},{"ecosystem":"Packagist","fixed":["9.2.0"],"introduced":["0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-3w22-wrwx-2r75"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-6904"},"products":["n/a"],"published":"2018-04-08","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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"An attacker with admin privileges can inject malicious scripts via the site name configuration, leading to cross-site scripting attacks.","url":"https://insights.sbomify.com/CVE-2018-6905/"}