Update java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
This commit is contained in:
Alvaro Muñoz
2020-10-27 21:11:15 +01:00
committed by GitHub
parent d221930c81
commit 9785013c29

View File

@@ -6,7 +6,7 @@
<p>Custom error messages for constraint validators support different types of interpolation,
including <a href="https://docs.jboss.org/hibernate/validator/5.1/reference/en-US/html/chapter-message-interpolation.html#section-interpolation-with-message-expressions">Java EL expressions</a>.
Controlling part of the message template being passed to <code>ConstraintValidatorContext.buildConstraintViolationWithTemplate()</code>
argument will lead to arbitrary Java code execution. Unfortunately, it is common that validated (and therefore, normally
argument can lead to arbitrary Java code execution. Unfortunately, it is common that validated (and therefore, normally
untrusted) bean properties flow into the custom error message.</p>
</overview>