---
title: "GHSA-cfxh-frx4-9gjg: Cross-site Scripting in @spscommerce/ds-react"
url: https://erroneo.us/security/ghsa/GHSA-cfxh-frx4-9gjg/
description: "GHSA-cfxh-frx4-9gjg (critical, npm): Cross-site Scripting in @spscommerce/ds-react. Impact XSS, anyone using the SPS Select with options prop populated from…"
type: advisory
section: "Security Digest"
date_published: 2023-12-15
date_modified: 2023-12-15
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-cfxh-frx4-9gjg"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-cfxh-frx4-9gjg: Cross-site Scripting in @spscommerce/ds-react

## Affected packages

- npm `@spscommerce/ds-react` >= 4.12.2, < 7.17.4 → fixed: 7.17.4

## Details

Impact XSS, 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. Patches The code has been patched for version 7 of woodland. Users should upgrade to 7.17.4 or higher Workarounds This 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. References https://github.com/SPSCommerce/woodland/blob/c49e999f97f3c0b56502859f4de1e8c6666dd74d/packages/ds-react/src/option-list/SpsOptionList.tsx#L559

## Sources

- [GitHub Advisory GHSA-cfxh-frx4-9gjg](https://github.com/advisories/GHSA-cfxh-frx4-9gjg)
- [github.com](https://github.com/SPSCommerce/woodland/security/advisories/GHSA-cfxh-frx4-9gjg)

---
Source page: https://erroneo.us/security/ghsa/GHSA-cfxh-frx4-9gjg/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
