{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-15125 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-15125 is a medium-severity cross-site scripting vulnerability in Red Hat cloudforms, published on 27 Jul 2018. 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 CVE-2017-15125 and fix it if it is affected.\n\nWhat it is: CVE-2017-15125 is a medium-severity cross-site scripting vulnerability in Red Hat cloudforms, published on 27 Jul 2018. 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 CVE-2017-15125 in the wild and no public exploit code.\n\nAffected product: Red Hat cloudforms. 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-2017-15125/ (Markdown: https://insights.sbomify.com/CVE-2017-15125/index.md)","id":"CVE-2017-15125","markdown":"https://insights.sbomify.com/CVE-2017-15125/index.md","name":"CVE-2017-15125","record":{"aliases":["GHSA-8ghx-pqhq-656w"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["account_takeover","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CloudForms self-service UI","requires_auth":"low_privilege","summary":"An attacker can execute stored XSS attacks against administrators via the snapshot name field in CloudForms, potentially leading to account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cloudforms_management_engine","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A flaw was found in CloudForms before 5.9.0.22 in the self-service UI snapshot feature where the name field is not properly sanitized for HTML and JavaScript input. An attacker could use this flaw to execute a stored XSS attack on an application administrator using CloudForms. Please note that CSP (Content Security Policy) prevents exploitation of this XSS however not all browsers support CSP.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site scripting in cloudforms","id":"CVE-2017-15125","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2017"},"n_packages":0,"n_references":3,"next":{"headline":"Use after free in Linux Kernel before 4.13.6","id":"CVE-2017-15126"},"packages":[],"prev":{"headline":"Denial of service in Qemu","id":"CVE-2017-15124"},"products":["cloudforms"],"published":"2018-07-27","related":[{"cvss_score":9.4,"headline":"Path traversal in n/a","id":"CVE-2013-2068","kev_date_added":null,"published":"2013-09-28"},{"cvss_score":9.1,"headline":"Security feature bypass in Red Hat CloudForms","id":"CVE-2014-8164","kev_date_added":null,"published":"2022-07-06"},{"cvss_score":9.1,"headline":"Command injection in CloudForms","id":"CVE-2020-14324","kev_date_added":null,"published":"2020-08-11"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2014-0087","kev_date_added":null,"published":"2018-01-11"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2016-7040","kev_date_added":null,"published":"2016-10-07"},{"cvss_score":8.5,"headline":"Code injection in n/a","id":"CVE-2013-4172","kev_date_added":null,"published":"2013-08-23"},{"cvss_score":8,"headline":"Command injection in CloudForms","id":"CVE-2019-14894","kev_date_added":null,"published":"2020-06-22"}],"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-05","vendors":["Red Hat"]},"summary":"An attacker can execute stored XSS attacks against administrators via the snapshot name field in CloudForms, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2017-15125/"}