The documentation for SimpleEvaluationContext states that it should be used for "categories of expressions that do not require the full extent of the SpEL language syntax and should be meaningfully restricted", and the documentation for StandardEvaluationContext says to "consider using SimpleEvaluationContext instead" for data-binding purposes.
However, we should also explicitly document that StandardEvaluationContext should not be used to evaluate untrusted input.
NOTE: This issue is assigned and therefore not suitable for community contributions.
The documentation for
SimpleEvaluationContextstates that it should be used for "categories of expressions that do not require the full extent of the SpEL language syntax and should be meaningfully restricted", and the documentation forStandardEvaluationContextsays to "consider usingSimpleEvaluationContextinstead" for data-binding purposes.However, we should also explicitly document that
StandardEvaluationContextshould not be used to evaluate untrusted input.NOTE: This issue is assigned and therefore not suitable for community contributions.