You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've run a SAST scan with a certain tool against OdataToEntity source code and it uncovered the following issue: CWE-352 in OdataToEntity.AspNetCore.OeBatchControllerBatchCore() and Batch() methods.
I think it should be fixed on the application level, not by the library, by introducing CSRF token middleware or authorization filter. The OeBatchController can also be made abstract so that the responsibility for CSRF prevention be moved to the calling application.
Thoughts?
Cheers,
Dmitry
The text was updated successfully, but these errors were encountered:
Hello,
So I've run a SAST scan with a certain tool against OdataToEntity source code and it uncovered the following issue: CWE-352 in
OdataToEntity.AspNetCore.OeBatchController
BatchCore()
andBatch()
methods.I think it should be fixed on the application level, not by the library, by introducing CSRF token middleware or authorization filter. The
OeBatchController
can also be made abstract so that the responsibility for CSRF prevention be moved to the calling application.Thoughts?
Cheers,
Dmitry
The text was updated successfully, but these errors were encountered: