Skip to content

Document that StandardEvaluationContext should not be used with untrusted input #36997

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions