{"answers":{"affected":"2 open source packages ship an affected version, including winter/wn-backend-module. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52085 exists.","fix":"Upgrade winter/wn-backend-module to 1.2.4 or later.","what":"CVE-2023-52085 is a low-severity path traversal vulnerability in wintercms winter, published on 29 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-52085 and fix it if it is affected.\n\nWhat it is: CVE-2023-52085 is a low-severity path traversal vulnerability in wintercms winter, published on 29 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52085 exists.\n\nAffected packages and fixed versions:\n- winter/wn-backend-module (Packagist): affected all versions; fixed in 1.2.4\n- winter/wn-backend-module (Packagist): affected all versions; fixed in 1.2.4\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-2023-52085/ (Markdown: https://insights.sbomify.com/CVE-2023-52085/index.md)","id":"CVE-2023-52085","markdown":"https://insights.sbomify.com/CVE-2023-52085/index.md","name":"CVE-2023-52085","record":{"aliases":["GHSA-2x7r-93ww-cxrq"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Winter CMS","requires_auth":"high_privilege","summary":"Attackers with backend form access can exploit a Local File Inclusion vulnerability in Winter CMS to read arbitrary files from the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"winter","vendor":"wintercms"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Winter is a free, open-source content management system. Users with access to backend forms that include a ColorPicker FormWidget can provide a value that would then be included without further processing in the compilation of custom stylesheets via LESS. This had the potential to lead to a Local File Inclusion vulnerability. This issue has been patched in v1.2.4.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-52085.yaml","stars":null,"title":"Winter CMS Local File Inclusion - (LFI)"}],"tier":"weaponised"},"has_fix":true,"headline":"Winter CMS Local File Inclusion through Server Side Template Injection","id":"CVE-2023-52085","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"File upload in n/a","id":"CVE-2023-52086"},"packages":[{"ecosystem":"Packagist","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"winter/wn-backend-module","purl":null,"source":"GHSA-2x7r-93ww-cxrq"},{"ecosystem":"Packagist","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"winter/wn-backend-module","purl":"pkg:composer/winter/wn-backend-module","source":"GHSA-2x7r-93ww-cxrq"}],"prev":{"headline":"Winter CMS Stored XSS through Backend ColorPicker FormWidget","id":"CVE-2023-52084"},"products":["winter"],"published":"2023-12-29","related":[{"cvss_score":10,"headline":"Winter: Privilege escalation by authenticated backend users","id":"CVE-2026-27591","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.5,"headline":"Winter CMS Modules allows a sandbox bypass in Twig templates leading to data modification and deletion","id":"CVE-2024-54149","kev_date_added":null,"published":"2024-12-09"},{"cvss_score":8.1,"headline":"Winter vulnerable to Prototype Pollution in Snowboard framework","id":"CVE-2022-39357","kev_date_added":null,"published":"2022-10-26"},{"cvss_score":7.2,"headline":"Winter CMS Server-Side Template Injection (SSTI) vulnerability","id":"CVE-2024-29686","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":2,"headline":"Stored XSS through privileged upload of Media Manager file followed by renaming","id":"CVE-2023-52083","kev_date_added":null,"published":"2023-12-28"},{"cvss_score":2,"headline":"Winter CMS Stored XSS through Backend ColorPicker FormWidget","id":"CVE-2023-52084","kev_date_added":null,"published":"2023-12-28"}],"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":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["wintercms"]},"summary":"Attackers with backend form access can exploit a Local File Inclusion vulnerability in Winter CMS to read arbitrary files from the server.","url":"https://insights.sbomify.com/CVE-2023-52085/"}