{"answers":{"affected":"1 open source package ship an affected version, including winter/wn-backend-module.","exploited":"There is no known exploitation of CVE-2026-125338 in the wild and no public exploit code.","exposure":"","fix":"Upgrade winter/wn-backend-module to 1.2.14 or later.","what":"CVE-2026-125338 is a medium-severity vulnerability in wintercms winter, published on 10 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-125338 and fix it if it is affected.\n\nWhat it is: CVE-2026-125338 is a medium-severity vulnerability in wintercms winter, published on 10 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-125338 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- winter/wn-backend-module (Packagist): affected all versions; fixed in 1.2.14\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-2026-125338/ (Markdown: https://insights.sbomify.com/CVE-2026-125338/index.md)","id":"CVE-2026-125338","markdown":"https://insights.sbomify.com/CVE-2026-125338/index.md","name":"CVE-2026-125338","record":{"aliases":["GHSA-5cwr-5jxg-pcf6"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":4.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Winter CMS is a content management system built on the Laravel PHP framework. Prior to 1.2.14, BrandSetting::renderCss() and EditorSetting::renderCss() store raw LESS compiler output with Cache::forever() but apply strip_tags() only to the value returned on a cache miss. The first render after saving custom CSS appears sanitized while priming an unsafe cache entry, and later cache hits return unsanitized output into the backend style element, allowing a user with backend.manage_branding or backend.manage_editor to cause stored cross-site scripting when another backend page renders the styles. The styles also appear on unauthenticated backend sign-in, password restore, and password reset layouts. This issue is fixed in version 1.2.14.","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":true,"headline":"Winter CMS: Stored XSS through cached Brand Settings and Editor Settings custom styles","id":"CVE-2026-125338","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"Winter CMS: CSRF through AJAX handler names reachable as backend page actions","id":"CVE-2026-125339"},"nickname":null,"packages":[{"ecosystem":"Packagist","fixed":["1.2.14"],"introduced":["0"],"last_affected":[],"package":"winter/wn-backend-module","purl":null,"source":"GHSA-5cwr-5jxg-pcf6"}],"prev":{"headline":"Winter CMS: ImportExportController AJAX handlers bypass granular import/export permission gate","id":"CVE-2026-125337"},"products":["winter"],"published":"2026-11-10","related":[],"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":"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":"2026-11-10","vendors":["wintercms"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-125338/"}