# CVE-2024-58342: XenForo Open Redirect via getDynamicRedirect

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA: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.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2026-04-01T00:30:07.355Z
- Modified: 2026-06-17T08:14:51.943Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

XenForo before 2.2.17 and 2.3.1 allows open redirect via a specially crafted URL. The getDynamicRedirect() function does not adequately validate the redirect target, allowing attackers to redirect users to arbitrary external sites using crafted URLs containing newlines, user credentials, or host mismatches.

(As written by CVE List.)

## Affected

- XenForo XenForo: before 2.2.17; from 2.3.0 before 2.3.1; 2.3.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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`

## References

- <https://xenforo.com/community/threads/xenforo-2-2-17-released-security-fix.227797/> (patch, release-notes, vendor-advisory)
- <https://www.vulncheck.com/advisories/xenforo-open-redirect-via-getdynamicredirect> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58342](https://www.cve.org/CVERecord?id=CVE-2024-58342), CVE Terms of Use, modified 2026-04-01
- NVD: [CVE-2024-58342](https://nvd.nist.gov/vuln/detail/CVE-2024-58342), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58342 · Whole record: https://cve.day/CVE-2024-58342.json · Rebuilt by cve.day 2026-11-25T22:58:52.992Z
