{"id":"CVE-2021-33898","aliases":["EUVD-2021-20571","GHSA-r5q9-wmfc-68m2"],"status":"published","title":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories...","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01804,"percentile":0.78725,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-502"],"published":"2021-06-06T22:28:22Z","modified":"2026-10-20T10:54:44Z","products":[{"vendor":"invoiceninja","product":"invoice_ninja"}],"references":[{"url":"https://github.com/invoiceninja/invoiceninja/issues/5909","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33898"},{"url":"https://github.com/advisories/GHSA-r5q9-wmfc-68m2"}],"sources":{"cve":[{"id":"CVE-2021-33898","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","status":"published","published":"2021-06-06T22:28:22Z","modified":"2024-08-04T00:05:52.264Z","updated_at":"2026-11-02T14:33:10.204494Z"}],"euvd":[{"id":"EUVD-2021-20571","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","status":"published","published":"2021-06-06T22:28:22Z","modified":"2024-08-04T00:05:52Z","updated_at":"2026-11-03T03:24:33.318275Z"}],"ghsa":[{"id":"GHSA-r5q9-wmfc-68m2","title":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories...","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","status":"published","published":"2022-05-24T19:04:16Z","modified":"2023-01-29T05:06:55Z","cwes":["CWE-502"],"updated_at":"2026-11-02T14:46:07.317218Z"}],"nvd":[{"id":"CVE-2021-33898","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","status":"published","published":"2021-06-06T23:15:07.517Z","modified":"2026-06-17T03:55:21.07Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"CVE-2021-33898","description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","status":"published","published":"2021-06-06T23:15:07.517Z","modified":"2026-10-20T10:54:44.769522148Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.13324Z"}]}}
