{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2022-22999 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-22999 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-22999 is a high-severity cross-site scripting vulnerability in Western Digital My Cloud, published on 25 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-22999 and fix it if it is affected.\n\nWhat it is: CVE-2022-22999 is a high-severity cross-site scripting vulnerability in Western Digital My Cloud, published on 25 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-22999 in the wild and no public exploit code.\n\nAffected product: Western Digital My Cloud. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-22999/ (Markdown: https://insights.sbomify.com/CVE-2022-22999/index.md)","id":"CVE-2022-22999","markdown":"https://insights.sbomify.com/CVE-2022-22999/index.md","name":"CVE-2022-22999","record":{"aliases":["GHSA-4h8r-hw75-4wxx"],"analysis":{"component_type":"iot_embedded","fix_type":"patch","impacts":["account_takeover","data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Western Digital My Cloud","requires_auth":"high_privilege","summary":"An attacker with elevated privileges can inject JavaScript into the USB Backups app, potentially hijacking sessions, stealing data, or modifying settings on Western Digital My Cloud devices.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WDC PSIRT","cpe":[{"product":"my_cloud_dl2100_firmware","vendor":"westerndigital"},{"product":"my_cloud_dl4100_firmware","vendor":"westerndigital"},{"product":"my_cloud_ex2100_firmware","vendor":"westerndigital"},{"product":"my_cloud_ex2_ultra_firmware","vendor":"westerndigital"},{"product":"my_cloud_ex4100_firmware","vendor":"westerndigital"},{"product":"my_cloud_mirror_g2_firmware","vendor":"westerndigital"},{"product":"my_cloud_pr2100_firmware","vendor":"westerndigital"},{"product":"my_cloud_pr4100_firmware","vendor":"westerndigital"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/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":"Western Digital My Cloud devices are vulnerable to a cross side scripting vulnerability that can allow a malicious user with elevated privileges access to drives being backed up to construct and inject JavaScript payloads into an authenticated user's browser. As a result, it may be possible to gain control over the authenticated session, steal data, modify settings, or redirect the user to malicious websites. The scope of impact can extend to other components.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site Scripting Vulnerability in USB Backups App","id":"CVE-2022-22999","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Weak Default SSL use in Port Forwarding Service","id":"CVE-2022-23000"},"packages":[],"prev":{"headline":"Protecting AWS credentials stored in plaintext on My Cloud Home","id":"CVE-2022-22998"},"products":["My Cloud"],"published":"2022-07-25","related":[{"cvss_score":10,"headline":"Impersonation attack causing an Authentication Bypass on Western Digital devices","id":"CVE-2022-36331","kev_date_added":null,"published":"2023-06-12"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2019-9950","kev_date_added":null,"published":"2019-04-24"},{"cvss_score":8.8,"headline":"Path traversal in n/a","id":"CVE-2019-9949","kev_date_added":null,"published":"2019-05-23"},{"cvss_score":7.3,"headline":"Weak Default SSL use in Port Forwarding Service","id":"CVE-2022-23000","kev_date_added":null,"published":"2022-07-25"},{"cvss_score":6.7,"headline":"Western Digital My Cloud OS 5 arbitrary file read and write vulnerability via ftp","id":"CVE-2022-29844","kev_date_added":null,"published":"2023-01-25"},{"cvss_score":6.2,"headline":"Western Digital My Cloud OS 5 devices Command Injection Vulnerability","id":"CVE-2022-29843","kev_date_added":null,"published":"2023-01-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Western Digital"]},"summary":"An attacker with elevated privileges can inject JavaScript into the USB Backups app, potentially hijacking sessions, stealing data, or modifying settings on Western Digital My Cloud devices.","url":"https://insights.sbomify.com/CVE-2022-22999/"}