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

Source: https://junglewise.ai/threats/cve-2019-10770-default-development-error-handler-in-ratpack-is-vulnerable-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-01-27  
License: CC BY 4.0 with a link back

CVE-2019-10770 · Severity: low · CVSS 3.1 · Published 2020-01-27

Default development error handler in Ratpack is vulnerable to HTML content injection (XSS)

Technologies: [io.ratpack:ratpack-core (Maven)](https://junglewise.ai/threats/technologies/io-ratpack-ratpack-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2019-10770 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-10770 being exploited in the wild.

**How severe is CVE-2019-10770?** Low severity, with a CVSS score of 3.1, published 27 January 2020.

**Which products and versions are affected?** io.ratpack:ratpack-core (Maven) ECOSYSTEM:introduced=0,fixed=1.7.6.

**Is there a fix for CVE-2019-10770?** Yes. io.ratpack:ratpack-core (Maven): upgrade to 1.7.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-10770?** Check whether you run io.ratpack:ratpack-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.ratpack:ratpack-core (Maven): upgrade to 1.7.6 or later

  ```sh
  # set io.ratpack:ratpack-core to 1.7.6 in your pom.xml or build.gradle
  ```


## Affected products

- io.ratpack:ratpack-core (Maven) ECOSYSTEM:introduced=0,fixed=1.7.6

## Identifiers

- CVE-2019-10770
- GHSA-r2wf-q3x4-hrv9

## Related threats

- [Cached redirect poisoning via X-Forwarded-Host header](https://junglewise.ai/threats/cve-2021-29479-cached-redirect-poisoning-via-x-forwarded-host-header)
- [Remote Code Execution Vulnerability in Session Storage](https://junglewise.ai/threats/cve-2021-29485-remote-code-execution-vulnerability-in-session-storage)
- [io.ratpack:ratpack-core vulnerable to Improper Neutralization of Special Elements in Output ('Injection')](https://junglewise.ai/threats/cve-2019-17513-io-ratpack-ratpack-core-vulnerable-to-improper-neutralization-of)
