# CVE-2019-17590: The csrfcallback function in the CSRF Magic library through 2016-03-27 is vulnerable to CSRF protection bypass as it allows one to tamper w…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.62%, higher than 44% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-11-26T17:34:16.000Z
- Modified: 2026-06-17T02:24:14.120Z
- Weaknesses: CWE-352
- Assigned by: mitre

## Description

The csrf_callback function in the CSRF Magic library through 2016-03-27 is vulnerable to CSRF protection bypass as it allows one to tamper with the csrf token values. A remote attacker can exploit this by crafting a malicious page and dispersing it to a victim via social engineering, enticing them to click the link. Once the user/victim clicks the "try again" button, the attacker can take over the account and perform unintended actions on the victim's behalf. NOTE: A third-party maintainer has stated that this CVE is a false report. They state that the csrf_callback function is actually a callback function to the callers own handler for output. The function called can be changed via configuration to a custom callback to handle failed validation differently. They also stated that there is no way for an attacker to change tokens to make them valid from the client side. The only thing an attack can do is to pull the token out of the javascript, but that will always be possible and has nothing to do with the callback

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- csrf_magic_project csrf_magic: up to 2016-03-27

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://pastebin.com/01tDgq7u> (exploit, third-party-advisory)

## Sources

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

---

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