Vulnerability library
Security checkJanuary 16, 2026

Cross-Site Scripting in backbone

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmbackbone

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Affected versions of backbone are vulnerable to cross-site scripting when users are allowed to supply input to the Model#Escape function, and the output is then written to the DOM.

The vulnerability occurs as a result of the regular expression used to encode metacharacters failing to take HTML Entities such as < into account.

Recommendation

Update the backbone package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.3.3, < 0.5.0
  • Patched version(s): 0.5.0

References

Could your website be exposed too?

SmartScanner can check your website for Cross-Site Scripting in backbone and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 16, 2026