Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-28112 EUVD-2023-31830

Discourse's SSRF protection missing for some FastImage requests

Published Mar 17, 2023 · Updated Feb 25, 2025 · 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.

Affected products

VendorProductAffectedFixed
discourse discourse beta < 3.1.0.beta3, tests-passed < 3.1.0.beta3 —

References