{"answers":{"affected":"2 open source packages ship an affected version, including forkcms/forkcms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1188 exists.","fix":"Upgrade forkcms/forkcms to 3.2.7 or later.","what":"CVE-2012-1188 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-1188 and fix it if it is affected.\n\nWhat it is: CVE-2012-1188 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1188 exists.\n\nAffected packages and fixed versions:\n- forkcms/forkcms (Packagist): affected all versions; fixed in 3.2.7\n- forkcms/forkcms (Packagist): affected all versions; fixed in 3.2.7\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-2012-1188/ (Markdown: https://insights.sbomify.com/CVE-2012-1188/index.md)","id":"CVE-2012-1188","markdown":"https://insights.sbomify.com/CVE-2012-1188/index.md","name":"CVE-2012-1188","record":{"aliases":["GHSA-j5fj-m342-mgcm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Fork CMS","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script or HTML into Fork CMS via specific parameters, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fork_cms","vendor":"fork-cms"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Multiple cross-site scripting (XSS) vulnerabilities in Fork CMS before 3.2.7 allow remote attackers to inject arbitrary web script or HTML via the (1) type or (2) querystring parameters to private/en/error or (3) name parameter to private/en/locale/index.","ecosystems":["Packagist"],"exploits":{"exploitdb":2,"first_seen":"2012-02-28","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-02-28","kind":"exploitdb","ref":"36893","stars":null,"title":"Fork CMS 3.x - '/private/en/locale/index?name' Cross-Site Scripting"},{"date":"2012-02-28","kind":"exploitdb","ref":"36894","stars":null,"title":"Fork CMS 3.x - '/backend/modules/error/actions/index.php?parse()' Multiple Error Display Cross-Site Scripting Vulnerabilities"}],"tier":"weaponised"},"has_fix":true,"headline":"Fork CMS Multiple XSS Vulnerabilities","id":"CVE-2012-1188","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2012"},"n_packages":2,"n_references":9,"next":{"headline":"Memory corruption in n/a","id":"CVE-2012-1189"},"packages":[{"ecosystem":"Packagist","fixed":["3.2.7"],"introduced":["0"],"last_affected":[],"package":"forkcms/forkcms","purl":null,"source":"GHSA-j5fj-m342-mgcm"},{"ecosystem":"Packagist","fixed":["3.2.7"],"introduced":["0"],"last_affected":[],"package":"forkcms/forkcms","purl":"pkg:composer/forkcms/forkcms","source":"GHSA-j5fj-m342-mgcm"}],"prev":{"headline":"Privilege escalation in Bitlbee","id":"CVE-2012-1187"},"products":["n/a"],"published":"2012-09-26","related":[{"cvss_score":9.8,"headline":"Spoon Library as used in Fork CMS allows PHP object injection","id":"CVE-2019-15521","kev_date_added":null,"published":"2019-08-26"},{"cvss_score":9.6,"headline":"SQL Injection in forkcms/forkcms","id":"CVE-2022-0153","kev_date_added":null,"published":"2022-03-24"},{"cvss_score":9,"headline":"SQL injection through marking blog comments on bulk as spam in forkcms/forkcms","id":"CVE-2022-1064","kev_date_added":null,"published":"2022-03-25"},{"cvss_score":8.8,"headline":"Arbitrary file upload in Fork CMS","id":"CVE-2021-28931","kev_date_added":null,"published":"2021-07-07"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in forkcms","id":"CVE-2020-23264","kev_date_added":null,"published":"2021-05-06"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2020-24036","kev_date_added":null,"published":"2021-03-04"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in ForkCMS","id":"CVE-2020-23960","kev_date_added":null,"published":"2021-01-11"}],"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script or HTML into Fork CMS via specific parameters, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2012-1188/"}