# CVE-2013-1656: Spree Improper Input Validation vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v2.0, NVD) `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Medium; Authentication: None; Confidentiality impact: None; Integrity impact: Partial; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.53% (percentile 75, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-jxx8-v83v-rhw3
- **Published:** 2013-03-08T18:00:00.000Z
- **Modified:** 2026-06-16T23:51:51.280Z

## Who should check

- Projects that depend on RubyGems package spree (\>= 1.0.0, \< 2.0.0.rc1)
- Anyone running n/a (versions: see the vendor advisory)

## Description

Spree Commerce 1.0.x through 1.3.2 allows remote authenticated administrators to instantiate arbitrary Ruby objects and execute arbitrary commands via the (1) payment\_method parameter to core/app/controllers/spree/admin/payment\_methods\_controller.rb; and the (2) promotion\_action parameter to promotion\_actions\_controller.rb, (3) promotion\_rule parameter to promotion\_rules\_controller.rb, and (4) calculator\_type parameter to promotions\_controller.rb in promo/app/controllers/spree/admin/, related to unsafe use of the constantize function.

## Affected and fixed versions

- RubyGems `spree`: affected \>= 1.0.0, \< 2.0.0.rc1; fixed 2.0.0.rc1 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade spree to 2.0.0.rc1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2013-1656. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2013-1656.md
Affected: spree >= 1.0.0, < 2.0.0.rc1
Fixed in: 2.0.0.rc1

Steps:
1. Search this machine and project for spree (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2013-1656 being exploited?

There is no confirmed exploitation: CVE-2013-1656 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2013-1656?

Medium: CVSS 4.3 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2013-1656?

spree \>= 1.0.0, \< 2.0.0.rc1.

### Is there a fix for CVE-2013-1656?

Yes. Fixed in 2.0.0.rc1. Upgrade spree to 2.0.0.rc1 or later.

### How do I check if I'm affected by CVE-2013-1656?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2013-1656>
- patch: <https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7>
- exploit: <https://www.conviso.com.br/advisories/CVE-2013-1656.txt>
- other: <http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html>
- other: <https://blog.convisoappsec.com/en/spree-commerce-multiple-unsafe-reflection-vulnerabilities-cve-2013-1656>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2013-1656.yml>
- other: <https://github.com/spree/spree>
- other: <https://web.archive.org/web/20130907044454/https://www.conviso.com.br/advisories/CVE-2013-1656.txt>
- other: <https://web.archive.org/web/20140329142330/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed>
- other: <https://web.archive.org/web/20140618100330/http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2013-1656>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jxx8-v83v-rhw3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2013-1656> · JSON: <https://flawdb.com/api/v1/entries/CVE-2013-1656>
