{"answers":{"affected":"6 open source packages ship an affected version, including com.haulmont.cuba:cuba-web-toolkit. It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-20663 in the wild and no public exploit code.","fix":"Upgrade com.haulmont.cuba:cuba-web-toolkit to a fixed version for your release line: 6.8.15, 6.10.7 or 6.9.8.","what":"CVE-2018-20663 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Jan 2019. 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-2018-20663 and fix it if it is affected.\n\nWhat it is: CVE-2018-20663 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Jan 2019. 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-2018-20663 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected all versions; fixed in 6.8.15\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected all versions; fixed in 6.8.15\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected from 6.10.0; fixed in 6.10.7\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected from 6.10.0; fixed in 6.10.7\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected from 6.9.0; fixed in 6.9.8\n- com.haulmont.cuba:cuba-web-toolkit (Maven): affected from 6.9.0; fixed in 6.9.8\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-2018-20663/ (Markdown: https://insights.sbomify.com/CVE-2018-20663/index.md)","id":"CVE-2018-20663","markdown":"https://insights.sbomify.com/CVE-2018-20663/index.md","name":"CVE-2018-20663","record":{"aliases":["GHSA-rff7-964g-pppx"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"CUBA Platform Reporting Addon","requires_auth":"low_privilege","summary":"Persistent XSS in CUBA Platform Reporting Addon allows attackers to inject scripts via the report name field, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cuba_platform","vendor":"haulmont"},{"product":"reporting","vendor":"haulmont"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The Reporting Addon (aka Reports Addon) through 2019-01-02 for CUBA Platform through 6.10.x has Persistent XSS via the \"Reports \u003e Reports\" name field.","ecosystems":["Maven"],"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":"The Reporting Addon for CUBA Platform has Persistent XSS","id":"CVE-2018-20663","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2018"},"n_packages":6,"n_references":1,"next":{"headline":"XML external entity in n/a","id":"CVE-2018-20664"},"packages":[{"ecosystem":"Maven","fixed":["6.8.15"],"introduced":["0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":null,"source":"GHSA-rff7-964g-pppx"},{"ecosystem":"Maven","fixed":["6.8.15"],"introduced":["0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":"pkg:maven/com.haulmont.cuba/cuba-web-toolkit","source":"GHSA-rff7-964g-pppx"},{"ecosystem":"Maven","fixed":["6.10.7"],"introduced":["6.10.0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":null,"source":"GHSA-rff7-964g-pppx"},{"ecosystem":"Maven","fixed":["6.10.7"],"introduced":["6.10.0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":"pkg:maven/com.haulmont.cuba/cuba-web-toolkit","source":"GHSA-rff7-964g-pppx"},{"ecosystem":"Maven","fixed":["6.9.8"],"introduced":["6.9.0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":null,"source":"GHSA-rff7-964g-pppx"},{"ecosystem":"Maven","fixed":["6.9.8"],"introduced":["6.9.0"],"last_affected":[],"package":"com.haulmont.cuba:cuba-web-toolkit","purl":"pkg:maven/com.haulmont.cuba/cuba-web-toolkit","source":"GHSA-rff7-964g-pppx"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2018-20662"},"products":["n/a"],"published":"2019-01-03","related":[{"cvss_score":6.5,"headline":"io.jmix.localfs:jmix-localfs affected by DoS in the Local File Storage","id":"CVE-2025-32952","kev_date_added":null,"published":"2025-04-22"},{"cvss_score":6.4,"headline":"io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API","id":"CVE-2025-32951","kev_date_added":null,"published":"2025-04-22"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["n/a"]},"summary":"Persistent XSS in CUBA Platform Reporting Addon allows attackers to inject scripts via the report name field, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2018-20663/"}