{"answers":{"affected":"6 open source packages ship an affected version, including ezsystems/ezpublish-legacy.","exploited":"There is no known exploitation of GHSA-82rv-45pc-v28w in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezpublish-legacy to a fixed version for your release line: 2017.12.2.1, 5.3.12.3 or 5.4.11.3.","what":"GHSA-82rv-45pc-v28w is a cross-site scripting vulnerability in ezsystems/ezpublish-legacy, published on 15 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-82rv-45pc-v28w and fix it if it is affected.\n\nWhat it is: GHSA-82rv-45pc-v28w is a cross-site scripting vulnerability in ezsystems/ezpublish-legacy, published on 15 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-82rv-45pc-v28w 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.2.1\n- ezsystems/ezpublish-legacy (Packagist): affected from 2011.0.0; fixed in 2017.12.2.1\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.11.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.11.3\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-82rv-45pc-v28w/ (Markdown: https://insights.sbomify.com/GHSA-82rv-45pc-v28w/index.md)","id":"GHSA-82rv-45pc-v28w","markdown":"https://insights.sbomify.com/GHSA-82rv-45pc-v28w/index.md","name":"GHSA-82rv-45pc-v28w","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"eZ Publish Legacy","requires_auth":"low_privilege","summary":"Attackers can hijack accounts, leak restricted data, or execute scripts via XSS in eZ Publish Legacy, requiring immediate updates.","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 4 separate vulnerabilities in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy by itself or via the LegacyBridge.\n \nFirst, it increases the randomness, and thus the security, of the pseudo-random bytes used to generate a hash for the \"forgot password\" feature. This protects accounts against being taken over through attacks trying to predict the hash. If the increased randomness is not available in your PHP installation, it will now log a warning.\n \nSecond, it improves security of the information collector feature, by ensuring no collection emails will be sent from invalid manipulated forms.\n \nThird, it stops the possible leaking of the names of content objects that should not be readable for certain users, on installations where these users can create or edit XML text.\n \nFourth, it protects against cross-site scripting (XSS) in the Matrix data type, on installations where users are allowed to edit content classes / content types.\n\nWe recommend that you install the security update as soon as possible.\n\nTo install, use Composer to update to one of the \"Resolving versions\" mentioned above, or apply these patches manually:\nhttps://github.com/ezsystems/ezpublish-legacy/commit/917711eb7ffe2b52a3e9fe12505f6810a63696f7\nhttps://github.com/ezsystems/ezpublish-legacy/commit/6db0e6b7739481f27d954548388bd3f0ed2c6fdd\nhttps://github.com/ezsystems/ezpublish-legacy/commit/efcd2b61b15eaaf74e0ff28d6c723cf28e655dab\nhttps://github.com/ezsystems/ezpublish-legacy/commit/f9ffaf590b63b4f552142cfd4441afbbfb3f19b1","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 Patch EZSA-2018-001 for Several vulnerabilities","id":"GHSA-82rv-45pc-v28w","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2017.12.2.1"],"introduced":["2011.0.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-82rv-45pc-v28w"},{"ecosystem":"Packagist","fixed":["2017.12.2.1"],"introduced":["2011.0.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-82rv-45pc-v28w"},{"ecosystem":"Packagist","fixed":["5.3.12.3"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-82rv-45pc-v28w"},{"ecosystem":"Packagist","fixed":["5.3.12.3"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-82rv-45pc-v28w"},{"ecosystem":"Packagist","fixed":["5.4.11.3"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-82rv-45pc-v28w"},{"ecosystem":"Packagist","fixed":["5.4.11.3"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-82rv-45pc-v28w"}],"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 hijack accounts, leak restricted data, or execute scripts via XSS in eZ Publish Legacy, requiring immediate updates.","url":"https://insights.sbomify.com/GHSA-82rv-45pc-v28w/"}