Exhibit 23.1

Consent of Independent Registered Public Accounting Firm


We consent to the reference to our firm under the caption “Experts” and to the use of our report dated March 27, 2023, in Amendment No. 1 to the Registration Statement (Form S-3 No. 333- 272249) and related Prospectus of Salarius Pharmaceuticals, Inc. for the registration of 11,163,637 shares of its common stock.

/s/ Ernst & Young LLP

Houston, Texas June 1, 2023