{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-28121","published":"2024-03-12T20:15:08.313000Z","last_modified":"2026-06-17T07:21:00.577000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-470"],"cpes":[{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:*:*:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version_end_excluding":"3.4.2"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre1:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre10:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre2:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre3:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre4:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre5:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre6:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre7:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre8:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:pre9:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:rc1:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:rc2:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"},{"criteria":"cpe:2.3:a:stimulusreflex:stimulusrelfex:3.5.0:rc3:*:*:*:*:*:*","part":"a","vendor":"stimulusreflex","product":"stimulusrelfex","version":"3.5.0"}],"cpes_truncated":false,"vendors":["stimulusreflex"],"products":["stimulusreflex/stimulusrelfex"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.01664,"percentile":0.77152,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f78j-4w3g-4q65","ecosystem":"RubyGems","name":"stimulus_reflex","purl":"pkg:gem/stimulus_reflex","ranges":[{"introduced":"3.5.0.pre0","fixed":"3.5.0.rc4"}],"versions":["3.5.0.pre0","3.5.0.pre1","3.5.0.pre10","3.5.0.pre2","3.5.0.pre3","3.5.0.pre4","3.5.0.pre5","3.5.0.pre6","3.5.0.pre7","3.5.0.pre8","3.5.0.pre9","3.5.0.rc1","3.5.0.rc2","3.5.0.rc3"],"versions_truncated":false},{"advisory":"GHSA-f78j-4w3g-4q65","ecosystem":"RubyGems","name":"stimulus_reflex","purl":"pkg:gem/stimulus_reflex","ranges":[{"introduced":"0","fixed":"3.4.2"}],"versions":["0.1.0","0.1.1","0.1.10","0.1.12","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.2","2.2.3","3.0.0","3.1.2","3.1.3","3.1.4","3.2.0","3.2.0.pre0","3.2.0.pre1","3.2.1","3.2.2","3.2.2.pre0","3.2.2.pre1","3.2.3","3.3.0","3.3.0.pre0","3.3.0.pre1","3.3.0.pre2","3.3.0.pre3","3.3.0.pre4","3.3.0.pre5","3.3.0.pre6","3.4.0","3.4.0.pre0","3.4.0.pre1","3.4.0.pre2","3.4.0.pre3","3.4.0.pre4","3.4.0.pre5","3.4.0.pre6","3.4.0.pre7","3.4.0.pre8","3.4.0.pre9","3.4.1"],"versions_truncated":false},{"advisory":"GHSA-f78j-4w3g-4q65","ecosystem":"npm","name":"stimulus_reflex","purl":"pkg:npm/stimulus_reflex","ranges":[{"introduced":"3.5.0-pre0","fixed":"3.5.0-rc4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-f78j-4w3g-4q65","ecosystem":"npm","name":"stimulus_reflex","purl":"pkg:npm/stimulus_reflex","ranges":[{"introduced":"0","fixed":"3.4.2"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2024-28121/","html_en":"/en/cve/CVE-2024-28121/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-28121","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-28121"},"untrusted":{"vendor_name":"Stimulusreflex","product_name":"Stimulusrelfex","desc_en":"stimulus_reflex is a system to extend the capabilities of both Rails and Stimulus by intercepting user interactions and passing them to Rails over real-time websockets. In affected versions more methods than expected can be called on reflex instances. Being able to call some of them has security implications. To invoke a reflex a websocket message of the following shape is sent: `\\\"target\\\":\\\"[class_name]#[method_name]\\\",\\\"args\\\":[]`. The server will proceed to instantiate `reflex` using the provided `class_name` as long as it extends `StimulusReflex::Reflex`. It then attempts to call `method_name` on the instance with the provided arguments. This is problematic as `reflex.method method_name` can be more methods that those explicitly specified by the developer in their reflex class. A good example is the instance_variable_set method. This vulnerability has been patched in versions 3.4.2 and 3.5.0.rc4. Users unable to upgrade should: see the backing GHSA advisory for mitigation advice.","affected":[{"untrusted_vendor":"stimulusreflex","untrusted_product":"stimulus_reflex","versions":[]}],"references":[{"url":"http://seclists.org/fulldisclosure/2024/Mar/16","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/stimulusreflex/stimulus_reflex/blob/0211cad7d60fe96838587f159d657e44cee51b9b/app/channels/stimulus_reflex/channel.rb#L83","tags":["Technical Description"]},{"url":"https://github.com/stimulusreflex/stimulus_reflex/commit/538582d240439aab76066c72335ea92096cd0c7f","tags":["Patch"]},{"url":"https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.4.2","tags":["Product","Release Notes"]},{"url":"https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.5.0.rc4","tags":["Product","Release Notes"]},{"url":"https://github.com/stimulusreflex/stimulus_reflex/security/advisories/GHSA-f78j-4w3g-4q65","tags":["Exploit","Vendor Advisory"]}]}}