{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gouniverse/cms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8572 in the wild and no public exploit code.","fix":"Upgrade github.com/gouniverse/cms to 1.4.1 or later.","what":"CVE-2024-8572 is a medium-severity vulnerability in Gouniverse GoLang CMS, published on 8 Sep 2024."},"fix_prompt":"Check this codebase for CVE-2024-8572 and fix it if it is affected.\n\nWhat it is: CVE-2024-8572 is a medium-severity vulnerability in Gouniverse GoLang CMS, published on 8 Sep 2024. \nExploitation: There is no known exploitation of CVE-2024-8572 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gouniverse/cms (Go): affected all versions; fixed in 1.4.1\n- github.com/gouniverse/cms (Go): affected all versions; fixed in 1.4.1\n- github.com/gouniverse/cms (Go): affected all versions; fixed in 1.4.1\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-2024-8572/ (Markdown: https://insights.sbomify.com/CVE-2024-8572/index.md)","id":"CVE-2024-8572","markdown":"https://insights.sbomify.com/CVE-2024-8572/index.md","name":"CVE-2024-8572","record":{"aliases":["GHSA-pv7h-hg6m-82j8","GO-2024-3125"],"analysis":null,"analysis_generated_by":null,"assigner":"VulDB","cpe":[{"product":"golang_cms","vendor":"gouniverse"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A vulnerability was found in Gouniverse GoLang CMS 1.4.0. It has been declared as problematic. This vulnerability affects the function PageRenderHtmlByAlias of the file FrontendHandler.go. The manipulation of the argument alias leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 1.4.1 is able to address this issue. The patch is identified as 3e661cdfb4beeb9fe2ad507cdb8104c0b17d072c. It is recommended to upgrade the affected component.","ecosystems":["Go"],"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":"Gouniverse GoLang CMS FrontendHandler.go PageRenderHtmlByAlias cross site scripting","id":"CVE-2024-8572","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2024"},"n_packages":3,"n_references":7,"next":{"headline":"TOTOLINK AC1200 T8/AC1200 T10 cstecgi.cgi setParentalRules buffer overflow","id":"CVE-2024-8573"},"packages":[{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gouniverse/cms","purl":null,"source":"GHSA-pv7h-hg6m-82j8"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gouniverse/cms","purl":"pkg:golang/github.com/gouniverse/cms","source":"GHSA-pv7h-hg6m-82j8"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gouniverse/cms","purl":"pkg:golang/github.com/gouniverse/cms","source":"GO-2024-3125"}],"prev":{"headline":"erjemin roll_cms views.py information exposure","id":"CVE-2024-8571"},"products":["GoLang CMS"],"published":"2024-09-08","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-10","vendors":["Gouniverse"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-8572/"}