{"answers":{"affected":"6 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-35698 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-35698 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-35698 is a critical cross-site scripting vulnerability in Adobe Commerce, published on 14 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35698 and fix it if it is affected.\n\nWhat it is: CVE-2022-35698 is a critical cross-site scripting vulnerability in Adobe Commerce, published on 14 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-35698 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- magento/community-edition (Packagist): affected all versions; no fix listed\n- magento/community-edition (Packagist): affected all versions; no fix listed\n- magento/community-edition (Packagist): affected from 2.4.3-p1 up to 2.4.3-p3; no fix listed\n- magento/community-edition (Packagist): affected from 2.4.3-p1 up to 2.4.3-p3; no fix listed\n- magento/project-community-edition (Packagist): affected all versions up to 2.0.2; no fix listed\n- magento/project-community-edition (Packagist): affected all versions up to 2.0.2; no fix listed\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-2022-35698/ (Markdown: https://insights.sbomify.com/CVE-2022-35698/index.md)","id":"CVE-2022-35698","markdown":"https://insights.sbomify.com/CVE-2022-35698/index.md","name":"CVE-2022-35698","record":{"aliases":["GHSA-4vj2-426r-jm3g"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Adobe Commerce","requires_auth":"none","summary":"Stored XSS in Adobe Commerce allows post-authentication arbitrary code execution without user interaction.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"adobe","cpe":[{"product":"commerce","vendor":"adobe"},{"product":"magento_open_source","vendor":"adobe"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Adobe Commerce versions 2.4.4-p1 (and earlier) and 2.4.5 (and earlier) are affected by a Stored Cross-site Scripting vulnerability. Exploitation of this issue does not require user interaction and could result in a post-authentication arbitrary code execution.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2022-10-14","github_poc":1,"max_poc_stars":38,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-10-14T04:58:26Z","kind":"github_poc","ref":"https://github.com/EmicoEcommerce/Magento-APSB22-48-Security-Patches","stars":38,"title":"This repository contains potential security patches for the Magento APSB22-48 and CVE-2022-35698 security vulnerability"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Adobe Commerce Stored XSS Arbitrary code execution","id":"CVE-2022-35698","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"adobe:commerce","products":["adobe:commerce"],"type":"xss","year":"2022"},"n_packages":6,"n_references":1,"next":{"headline":"Adobe Bridge Font Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2022-35699"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"magento/community-edition","purl":null,"source":"GHSA-4vj2-426r-jm3g"},{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"GHSA-4vj2-426r-jm3g"},{"ecosystem":"Packagist","fixed":[],"introduced":["2.4.3-p1"],"last_affected":["2.4.3-p3"],"package":"magento/community-edition","purl":null,"source":"GHSA-4vj2-426r-jm3g"},{"ecosystem":"Packagist","fixed":[],"introduced":["2.4.3-p1"],"last_affected":["2.4.3-p3"],"package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"GHSA-4vj2-426r-jm3g"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.0.2"],"package":"magento/project-community-edition","purl":null,"source":"GHSA-4vj2-426r-jm3g"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.0.2"],"package":"magento/project-community-edition","purl":"pkg:composer/magento/project-community-edition","source":"GHSA-4vj2-426r-jm3g"}],"prev":{"headline":"AEM File Upload Security Issue leading to RXSS","id":"CVE-2022-35697"},"products":["Magento Commerce"],"published":"2022-10-14","related":[{"cvss_score":10,"headline":"Adobe Commerce and Magento Improper Neutralization of Special Elements Used in a Template Engine","id":"CVE-2026-75650","kev_date_added":"2026-09-08","published":"2026-09-07"},{"cvss_score":9.8,"headline":"Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE)","id":"CVE-2024-34102","kev_date_added":"2024-07-17","published":"2024-06-13"},{"cvss_score":9.8,"headline":"Adobe Commerce and Magento Open Source Improper Input Validation","id":"CVE-2022-24086","kev_date_added":"2022-02-15","published":"2022-02-16"},{"cvss_score":9.3,"headline":"Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type","id":"CVE-2026-48356","kev_date_added":"2026-10-27","published":"2026-07-14"},{"cvss_score":9.1,"headline":"Adobe Commerce and Magento Incorrect Authorization Vulnerability","id":"CVE-2026-71362","kev_date_added":"2026-09-24","published":"2026-08-11"},{"cvss_score":9.1,"headline":"Adobe Commerce and Magento Improper Input Validation","id":"CVE-2025-54236","kev_date_added":"2025-10-24","published":"2025-09-09"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["Adobe"]},"summary":"Stored XSS in Adobe Commerce allows post-authentication arbitrary code execution without user interaction.","url":"https://insights.sbomify.com/CVE-2022-35698/"}