# CVE-2019-13146: field_test gem contains injection vulnerability

- Severity: Medium 5.3 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-07-09T17:58:40.000Z
- Modified: 2026-06-17T02:16:09.710Z
- Also known as: GHSA-wg9m-gw3h-hg83
- Weaknesses: CWE-74
- Assigned by: mitre

## Description

The field_test gem 0.3.0 for Ruby has unvalidated input. A method call that is expected to return a value from a certain set of inputs can be made to return any input, which can be dangerous depending on how applications use it. If an application treats arbitrary variants as trusted, this can lead to a variety of potential vulnerabilities like SQL injection or cross-site scripting (XSS).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- field_test (RubyGems): from 0.3.0 before 0.3.1
- field_test_project field_test: 0.3.0

## Every score

- GitHub: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/ankane/field_test/issues/17> (exploit, third-party-advisory, web)
- <https://rubygems.org/gems/field_test> (product, third-party-advisory)
- <http://www.securityfocus.com/bid/109114> (third-party-advisory, vdb-entry)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-13146> (advisory)
- <https://github.com/ankane/field_test> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/field_test/CVE-2019-13146.yml> (web)
- <https://web.archive.org/web/20210115194802/http://www.securityfocus.com/bid/109114> (web)

## Sources

- CVE List: [CVE-2019-13146](https://www.cve.org/CVERecord?id=CVE-2019-13146), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-wg9m-gw3h-hg83](https://github.com/advisories/GHSA-wg9m-gw3h-hg83), CC-BY-4.0, modified 2025-03-03
- NVD: [CVE-2019-13146](https://nvd.nist.gov/vuln/detail/CVE-2019-13146), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-13146 · Whole record: https://cve.day/CVE-2019-13146.json · Rebuilt by cve.day 2026-11-25T22:57:45.888Z
