# CVE-2019-10770: Default development error handler in Ratpack is vulnerable to HTML content injection (XSS)

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/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): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-27T19:28:20.000Z
- Modified: 2026-06-17T02:11:38.370Z
- Also known as: GHSA-r2wf-q3x4-hrv9
- Weaknesses: CWE-79
- Assigned by: snyk

## Description

All versions of io.ratpack:ratpack-core from 0.9.10 inclusive and before 1.7.6 are vulnerable to Cross-site Scripting (XSS). This affects the development mode error handler when an exception message contains untrusted data. Note the production mode error handler is not vulnerable - so for this to be utilized in production it would require users to not disable development mode.

(As written by CVE List.)

## Affected

- io.ratpack:ratpack-core: all versions from 0.9.10 inclusive and before 1.7.6
- io.ratpack:ratpack-core (Maven): before 1.7.6
- ratpack ratpack: from 0.9.10 before 1.7.6

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JAVA-IORATPACK-534882> (exploit, third-party-advisory, web)
- <https://github.com/ratpack/ratpack/security/advisories/GHSA-r2wf-q3x4-hrv9> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10770> (advisory)
- <https://github.com/ratpack/ratpack/commit/a3cbb13be1527874528c3b99fc33517c0297b6d3> (web)

## Sources

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

---

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