It depends on how the extension is designed and which storage API is used.
If it is a WebExtension and it uses storage.local, then the settings is stored in Profile Folder/profile.name/browser-extension-data/{extensionid}/storage.js
However, an extension can also use storage.sync which stores the settings in the cloud for example, and unfortunately you can’t have access to it.