{"answers":{"affected":"4 open source packages ship an affected version, including gleez/cms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-7035 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7035 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7035 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 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-2018-7035 and fix it if it is affected.\n\nWhat it is: CVE-2018-7035 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 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-2018-7035 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gleez/cms (Packagist): affected all versions; no fix listed\n- gleez/cms (Packagist): affected all versions; no fix listed\n- gleez/cms (Packagist): affected all versions up to 1.2.0; no fix listed\n- gleez/cms (Packagist): affected all versions up to 1.2.0; 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-2018-7035/ (Markdown: https://insights.sbomify.com/CVE-2018-7035/index.md)","id":"CVE-2018-7035","markdown":"https://insights.sbomify.com/CVE-2018-7035/index.md","name":"CVE-2018-7035","record":{"aliases":["GHSA-m2r2-qc49-gqw4"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Gleez CMS","requires_auth":"low_privilege","summary":"Remote attackers can inject JavaScript via HTML content in the editor, leading to Stored XSS when administrators edit the content.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gleez_cms","vendor":"gleezcms"}],"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":"Cross-site scripting (XSS) vulnerability in Gleez CMS 1.2.0 and 2.0 might allow remote attackers (users) to inject JavaScript via HTML content in an editor, which will result in Stored XSS when an Administrator tries to edit the same content, as demonstrated by use of the source editor for HTML mode in an Add Blog action.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Gleez CMS Stored XSS","id":"CVE-2018-7035","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2018"},"n_packages":4,"n_references":1,"next":{"headline":"Integer overflow in n/a","id":"CVE-2018-7039"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"gleez/cms","purl":null,"source":"GHSA-m2r2-qc49-gqw4"},{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"gleez/cms","purl":"pkg:composer/gleez/cms","source":"GHSA-m2r2-qc49-gqw4"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"gleez/cms","purl":null,"source":"GHSA-m2r2-qc49-gqw4"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"gleez/cms","purl":"pkg:composer/gleez/cms","source":"GHSA-m2r2-qc49-gqw4"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2018-7034"},"products":["n/a"],"published":"2018-04-05","related":[{"cvss_score":9.4,"headline":"Gleez Cms Server Side Request Forgery (SSRF) vulnerability","id":"CVE-2021-27312","kev_date_added":null,"published":"2024-04-03"},{"cvss_score":8.8,"headline":"Gleez CMS CSRF Allows Adding of Administrator Accounts","id":"CVE-2018-15845","kev_date_added":null,"published":"2018-08-25"},{"cvss_score":6.1,"headline":"Gleez CMS Vulnerable to Cross-site Scripting in media/imagecache/resize","id":"CVE-2018-16347","kev_date_added":null,"published":"2018-09-02"}],"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-08-05","vendors":["n/a"]},"summary":"Remote attackers can inject JavaScript via HTML content in the editor, leading to Stored XSS when administrators edit the content.","url":"https://insights.sbomify.com/CVE-2018-7035/"}