mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
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:
@@ -6,7 +6,7 @@
|
|||||||
<p>Custom error messages for constraint validators support different types of interpolation,
|
<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>.
|
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>
|
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>
|
untrusted) bean properties flow into the custom error message.</p>
|
||||||
</overview>
|
</overview>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user