{"answers":{"affected":"10 open source packages ship an affected version, including ezsystems/ezpublish-legacy.","exploited":"There is no known exploitation of GHSA-2vh3-cj9j-mcj5 in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezpublish-legacy to a fixed version for your release line: 2017.12.4.2, 2018.6.1.3, 2018.9.1.2 or 5.3.12.5.","what":"GHSA-2vh3-cj9j-mcj5 is a cross-site scripting vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-2vh3-cj9j-mcj5 and fix it if it is affected.\n\nWhat it is: GHSA-2vh3-cj9j-mcj5 is a cross-site scripting vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-2vh3-cj9j-mcj5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ezsystems/ezpublish-legacy (Packagist): affected from 2011.0.0; fixed in 2017.12.4.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2011.0.0; fixed in 2017.12.4.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2018.6.0; fixed in 2018.6.1.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 2018.6.0; fixed in 2018.6.1.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 2018.9.0; fixed in 2018.9.1.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2018.9.0; fixed in 2018.9.1.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.5\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.5\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.12.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.12.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-2vh3-cj9j-mcj5/ (Markdown: https://insights.sbomify.com/GHSA-2vh3-cj9j-mcj5/index.md)","id":"GHSA-2vh3-cj9j-mcj5","markdown":"https://insights.sbomify.com/GHSA-2vh3-cj9j-mcj5/index.md","name":"GHSA-2vh3-cj9j-mcj5","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"eZ Publish Legacy","requires_auth":"none","summary":"Attackers can inject scripts via module names in disabled module error templates, requiring user interaction to execute.","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":"This security advisory fixes a vulnerability in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy via the LegacyBridge.\n\nInstallations where all modules are disabled may be vulnerable to XSS injection in the module name. This is a rare configuration, but we still recommend installing the update, which adds the necessary input washing.\n\nTo install, use Composer to update to one of the \"Resolving versions\" mentioned above, or apply this patch manually:\nhttps://github.com/ezsystems/ezpublish-legacy/commit/4697bff700e8cf95d5847ea19dad3479a77b02d9","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":"eZ Publish Legacy Cross-site Scripting (XSS) in 'disabled module' error template","id":"GHSA-2vh3-cj9j-mcj5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":10,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2017.12.4.2"],"introduced":["2011.0.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["2017.12.4.2"],"introduced":["2011.0.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["2018.6.1.3"],"introduced":["2018.6.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["2018.6.1.3"],"introduced":["2018.6.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["2018.9.1.2"],"introduced":["2018.9.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["2018.9.1.2"],"introduced":["2018.9.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["5.3.12.5"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["5.3.12.5"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["5.4.12.2"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-2vh3-cj9j-mcj5"},{"ecosystem":"Packagist","fixed":["5.4.12.2"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-2vh3-cj9j-mcj5"}],"products":null,"published":"2024-05-15","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 via module names in disabled module error templates, requiring user interaction to execute.","url":"https://insights.sbomify.com/GHSA-2vh3-cj9j-mcj5/"}