{"answers":{"affected":"8 open source packages ship an affected version, including bigfork/silverstripe-form-capture and andrewhaine/silverstripe-form-capture. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28851 in the wild and no public exploit code.","fix":"Upgrade bigfork/silverstripe-form-capture to 3.1.1 or later.","what":"CVE-2023-28851 is a medium-severity cross-site scripting vulnerability in bigfork silverstripe-form-capture, published on 3 Apr 2023. 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-2023-28851 and fix it if it is affected.\n\nWhat it is: CVE-2023-28851 is a medium-severity cross-site scripting vulnerability in bigfork silverstripe-form-capture, published on 3 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-28851 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bigfork/silverstripe-form-capture (Packagist): affected from 3.0.0; fixed in 3.1.1\n- bigfork/silverstripe-form-capture (Packagist): affected from 3.0.0; fixed in 3.1.1\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 0.2.0; fixed in 1.0.2\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 0.2.0; fixed in 1.0.2\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 1.0.0; fixed in 1.0.2\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 1.0.0; fixed in 1.0.2\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 2.0.0; fixed in 2.2.5\n- andrewhaine/silverstripe-form-capture (Packagist): affected from 2.0.0; fixed in 2.2.5\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-28851/ (Markdown: https://insights.sbomify.com/CVE-2023-28851/index.md)","id":"CVE-2023-28851","markdown":"https://insights.sbomify.com/CVE-2023-28851/index.md","name":"CVE-2023-28851","record":{"aliases":["GHSA-38h6-gmr2-j4wx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Silverstripe plugin","requires_auth":"none","summary":"Attackers can inject malicious scripts via stored form submissions in Silverstripe Form Capture, potentially compromising admin sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"silverstripe_form_capture","vendor":"bigfork"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Silverstripe Form Capture provides a method to capture simple silverstripe forms and an admin interface for users. Starting in version 0.2.0 and prior to versions 1.0.2, 1.1.0, 2.2.5, and 3.1.1, improper escaping when presenting stored form submissions allowed for an attacker to perform a Cross-Site Scripting attack. The vulnerability was initially patched in version 1.0.2, and version 1.1.0 includes this patch. The bug was then accidentally re-introduced during a merge error, and has been re-patched in versions 2.2.5 and 3.1.1. There are no known workarounds for this vulnerability.","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":"Silverstripe Form Capture vulnerable to Stored Cross-Site Scripting","id":"CVE-2023-28851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":8,"n_references":2,"next":{"headline":"GLPI vulnerable to stored Cross-site Scripting through dashboard administration","id":"CVE-2023-28852"},"packages":[{"ecosystem":"Packagist","fixed":["1.0.2"],"introduced":["0.2.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":null,"source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["1.0.2"],"introduced":["0.2.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":"pkg:composer/andrewhaine/silverstripe-form-capture","source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["1.0.2"],"introduced":["1.0.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":null,"source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["1.0.2"],"introduced":["1.0.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":"pkg:composer/andrewhaine/silverstripe-form-capture","source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":null,"source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"andrewhaine/silverstripe-form-capture","purl":"pkg:composer/andrewhaine/silverstripe-form-capture","source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["3.1.1"],"introduced":["3.0.0"],"last_affected":[],"package":"bigfork/silverstripe-form-capture","purl":null,"source":"GHSA-38h6-gmr2-j4wx"},{"ecosystem":"Packagist","fixed":["3.1.1"],"introduced":["3.0.0"],"last_affected":[],"package":"bigfork/silverstripe-form-capture","purl":"pkg:composer/bigfork/silverstripe-form-capture","source":"GHSA-38h6-gmr2-j4wx"}],"prev":{"headline":"Pimcore Perspective Editor vulnerable to Cross-site Scripting in perspective name","id":"CVE-2023-28850"},"products":["silverstripe-form-capture"],"published":"2023-04-03","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":"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":"2025-02-11","vendors":["bigfork"]},"summary":"Attackers can inject malicious scripts via stored form submissions in Silverstripe Form Capture, potentially compromising admin sessions.","url":"https://insights.sbomify.com/CVE-2023-28851/"}