Description
backbone is a module that adds in structure to a JavaScript heavy application through key-value pairs and custom events connecting to your RESTful API through JSON There exists a potential Cross Site Scripting vulnerability in the `Model#Escape` function of backbone 0.3.3 and earlier, if a user is able to supply input. This is due to the regex that's replacing things to miss the conversion of things such as `<` to `<`.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | backbone node module | <= 0.3.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | backbone | 0.5.3-1 | — |
| Debian 13 | backbone | 0.5.3-1 | — |
| Debian 12 | backbone | 0.5.3-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | backbone | >= 0.3.3, < 0.5.0 | 0.5.0 | GHSA-j6p2-cx3w-6jcp |