# CVE-2023-28112: Discourse's SSRF protection missing for some FastImage requests

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/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.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2023-03-17T18:35:07.984Z
- Modified: 2026-09-08T08:46:07.960Z
- Also known as: BIT-DISCOURSE-2023-28112, GHSA-9897-x229-55gh
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open-source discussion platform. Prior to version 3.1.0.beta3 of the `beta` and `tests-passed` branches, some user provided URLs were being passed to FastImage without SSRF protection. Insufficient protections could enable attackers to trigger outbound network connections from the Discourse server to private IP addresses. This affects any site running the `tests-passed` or `beta` branches versions 3.1.0.beta2 and prior. This issue is patched in version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

(As written by CVE List.)

## Affected

- discourse discourse: beta < 3.1.0.beta3; tests-passed < 3.1.0.beta3; before 3.1.0; up to 3.1.0; 3.1.0
- discourse (Bitnami): before 3.1.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-9897-x229-55gh> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/pull/20710> (fix, patch)
- <https://github.com/discourse/discourse/commit/39c2f63b35d90ebaf67b9604cf1d424e5984203c> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28112> (web)

## Sources

- CVE List: [CVE-2023-28112](https://www.cve.org/CVERecord?id=CVE-2023-28112), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-28112](https://nvd.nist.gov/vuln/detail/CVE-2023-28112), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2023-28112](https://osv.dev/vulnerability/BIT-DISCOURSE-2023-28112), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28112 · Whole record: https://cve.day/CVE-2023-28112.json · Rebuilt by cve.day 2026-11-25T22:58:22.513Z
