{"answers":{"affected":"4 open source packages ship an affected version, including neos/neos.","exploited":"There is no known exploitation of GHSA-6cj3-rc4p-f38f in the wild and no public exploit code.","fix":"Upgrade neos/neos to a fixed version for your release line: 1.2.13 or 2.0.4.","what":"GHSA-6cj3-rc4p-f38f is a cross-site scripting vulnerability in neos/neos, published on 17 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-6cj3-rc4p-f38f and fix it if it is affected.\n\nWhat it is: GHSA-6cj3-rc4p-f38f is a cross-site scripting vulnerability in neos/neos, published on 17 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-6cj3-rc4p-f38f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- neos/neos (Packagist): affected from 1.2.0; fixed in 1.2.13\n- neos/neos (Packagist): affected from 1.2.0; fixed in 1.2.13\n- neos/neos (Packagist): affected from 2.0.0; fixed in 2.0.4\n- neos/neos (Packagist): affected from 2.0.0; fixed in 2.0.4\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-6cj3-rc4p-f38f/ (Markdown: https://insights.sbomify.com/GHSA-6cj3-rc4p-f38f/index.md)","id":"GHSA-6cj3-rc4p-f38f","markdown":"https://insights.sbomify.com/GHSA-6cj3-rc4p-f38f/index.md","name":"GHSA-6cj3-rc4p-f38f","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Neos CMS","requires_auth":"low_privilege","summary":"Attackers can inject scripts to steal credentials or upload backdoors via XSS and file upload flaws in Neos CMS.","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":"It has been discovered that Neos is vulnerable to several XSS attacks. Through these vulnerabilities, an attacker could tamper with page rendering, redirect victims to a fake login page, or capture user credentials (such as cookies). With the potential backdoor upload an attacker could gain access to the server itself, to an extent mainly limited by the server setup.\n\n### Reflected Cross-Site Scripting (SXSS) with authentication\nA Neos backend user with permission to modify content can insert JavaScript instructions into content elements. The browser will execute the script in \"Print\" preview mode.\nA Neos backend user who can modify his profile information (\"Title\", \"First Name\", \"Last name\", \"Middle Name\", \"Other Name\") can inject JavaScript instructions in those parameters. Once set up, an administrator who wants to edit this user account will execute the code.\nBoth attack vectors require a valid Neos backend user account.\n\n### Reflected Cross-Site Scripting (RXSS) without authentication\nA non-persistent XSS using parameters passed during plugin execution is possible. If invalid parameters are passed, an error message may be shown (depending on the context Neos runs in and how the parameters are handled) that contains the unescaped parameter value.\n\nNote: Through the HTML content type the inclusion of arbitrary JavaScript is still possible for users with a valid Neos backend account. If you want to prohibit that, disable the nodetype or restrict access.\n\n### Potential backdoor upload\nThrough an issue with the underlying Flow framework (see the related Flow advisory Flow-SA-2015-001) any editor with access to the Media Management module can upload server side script files (when using Neos 2.0.x). If those scripts are executed by the server when accessed through their public URL, anything not blocked through other means is possible (information disclosure, placement of backdoors, data removal, …).","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":"Cross-site Scripting vulnerabilities in Neos","id":"GHSA-6cj3-rc4p-f38f","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":["1.2.13"],"introduced":["1.2.0"],"last_affected":[],"package":"neos/neos","purl":null,"source":"GHSA-6cj3-rc4p-f38f"},{"ecosystem":"Packagist","fixed":["1.2.13"],"introduced":["1.2.0"],"last_affected":[],"package":"neos/neos","purl":"pkg:composer/neos/neos","source":"GHSA-6cj3-rc4p-f38f"},{"ecosystem":"Packagist","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"neos/neos","purl":null,"source":"GHSA-6cj3-rc4p-f38f"},{"ecosystem":"Packagist","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"neos/neos","purl":"pkg:composer/neos/neos","source":"GHSA-6cj3-rc4p-f38f"}],"products":null,"published":"2024-05-17","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":"Attackers can inject scripts to steal credentials or upload backdoors via XSS and file upload flaws in Neos CMS.","url":"https://insights.sbomify.com/GHSA-6cj3-rc4p-f38f/"}