diff --git a/java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp b/java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp index 9e1ed63ec90..8ef851f08ad 100644 --- a/java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp +++ b/java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp @@ -2,17 +2,17 @@ "-//Semmle//qhelp//EN" "qhelp.dtd"> -

Bean validation custom constraint error messages support different types of interpolation, including Java EL expressions. -Controlling part of the message template being passed to `ConstraintValidatorContext.buildConstraintViolationWithTemplate()` +Controlling part of the message template being passed to ConstraintValidatorContext.buildConstraintViolationWithTemplate() argument will lead to arbitrary Java code execution. Unfortunately, it is common that validated (and therefore, normally untrusted) bean properties flow into the custom error message.

There are different approaches to remediate the issue:

+