Skip to main content
No exploitation reportedFix available

CVE-2024-28121

No exploitation reported by the sources we read.

  • Published2024-03-12
  • Fixed in3.5.0-rc4 · 3.5.0.rc4 · 3.4.2
  • WeaknessCWE-470

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-03-1220:15CVE publishedNVD

Versions per branch

OSV · NVD · CISA-ADP
Stimulusreflex stimulusrelfex
BranchAffectedFixed in
3.5≥ 3.5.0-pre0, < 3.5.0-rc43.5.0-rc4
3.5≥ 3.5.0.pre0, < 3.5.0.rc43.5.0.rc4
3.4< 3.4.23.4.2
3.5= 3.5.0no fix published
Stimulusreflex stimulus reflex
BranchAffectedFixed in
3.5≥ 3.5.0.rc1, < 3.5.0.rc43.5.0.rc4
3.4< 3.4.23.4.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • stimulusreflex stimulus_reflex
    Affected
    • = >= 3.5.0.rc1, < 3.5.0.rc4no fix stated
    • = < 3.4.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-03-12

Fix

  1. Update Stimulusreflex stimulusrelfex to 3.5.0-rc4 · 3.5.0.rc4 · 3.4.2

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2024-03-13
  • CNACVSS 3.18.8known since 2026-10-23
  • CNAweakness (CWE)CWE-470known since 2026-10-23
  • FIRST EPSSEPSS score1.6 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2024-03-12

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2024-03-12
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-f78j-4w3g-4q65

Frequently asked questions

What is CVE-2024-28121?

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.

Is CVE-2024-28121 actively exploited?

Active exploitation of CVE-2024-28121 has not been confirmed. Its EPSS score was 1.6% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-28121?

CVE-2024-28121 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running stimulus_reflex? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record