{"id":"GHSA-cfxh-frx4-9gjg","aliases":["GHSA-cfxh-frx4-9gjg"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in @spscommerce/ds-react","summary":"### Impact\nXSS, anyone using the SPS Select with options prop populated from user input is impacted. If these options are stored, then it could have been a stored XSS. \n\n### Patches\nThe code has been patched for version 7 of woodland. Users should upgrade to 7.17.4 or higher\n\n### Workarounds\nThis is not recommended. If you are not upgrading then you would need to sanitize your options yourself (including those currently stored in databases). This is not recommended.\n\n### References\nhttps://github.com/SPSCommerce/woodland/blob/c49e999f97f3c0b56502859f4de1e8c6666dd74d/packages/ds-react/src/option-list/SpsOptionList.tsx#L559","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nXSS, anyone using the SPS Select with options prop populated from user input is impacted. If these options are stored, then it could have been a stored XSS. \n\n### Patches\nThe code has been patched for version 7 of woodland. Users should upgrade to 7.17.4 or higher\n\n### Workarounds\nThis is not recommended. If you are not upgrading then you would need to sanitize your options yourself (including those currently stored in databases). This is not recommended.\n\n### References\nhttps://github.com/SPSCommerce/woodland/blob/c49e999f97f3c0b56502859f4de1e8c6666dd74d/packages/ds-react/src/option-list/SpsOptionList.tsx#L559","format":"markdown","source":"ghsa"}],"published":"2023-12-15T03:13:18.000Z","modified":"2023-12-15T03:13:18.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"4.12.2","status":"affected","fixed":"7.17.4"}],"ecosystem":"npm","package":"@spscommerce/ds-react","purl":"pkg:npm/%40spscommerce/ds-react","source":"ghsa"}],"references":[{"url":"https://github.com/SPSCommerce/woodland/security/advisories/GHSA-cfxh-frx4-9gjg","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SPSCommerce/woodland","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cfxh-frx4-9gjg","url":"https://github.com/advisories/GHSA-cfxh-frx4-9gjg","licence":"CC-BY-4.0","modified":"2023-12-15T03:13:18.000Z"}],"updatedAt":"2026-11-25T22:56:45.085Z"}