CVE-2024-24556 XSS in @urql/next
MediumCVSS 6.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
urql is a GraphQL client that exposes a set of helpers for several frameworks. The @urql/next package is vulnerable to XSS. To exploit this an attacker would need to ensure that the response returns html tags and that the web-application is using streamed responses (non-RSC). This vulnerability is due to improper escaping of html-like characters in the response-stream. To fix this vulnerability upgrade to version 1.1.1
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nearform urql | < 1.1.1 | 1.1.1 | Fixed |
| urql @urql/next(npm) | < 1.1.1 | 1.1.1 | Fixed |
| urql-graphql urql | = < 1.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| urql @urql/next(npm) | < 1.1.1 | 1.1.1 |
| urql-graphql urql | = < 1.1.1 | No fix listed |
| nearform urql | < 1.1.1 | 1.1.1 |
References
- https://github.com/urql-graphql/urql/security/advisories/GHSA-qhjf-hm5j-335w vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/urql-graphql/urql/commit/4b7011b70d5718728ff912d02a4dbdc7f703540d patch
- github.com
- github.com product