Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d990f7a

Browse files
Alvaro Muñozpwntester
authored andcommitted
move md links to <a>
1 parent 65d01f5 commit d990f7a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
<qhelp>
55

66
<overview>
7-
<p>Bean validation custom constraint error messages support different types of interpolation, including [Java EL expressions](https://docs.jboss.org/hibernate/validator/5.1/reference/en-US/html/chapter-message-interpolation.html#section-interpolation-with-message-expressions).
8-
Controlling part of the error message template being passed to `ConstraintValidatorContext.buildConstraintViolationWithTemplate()` argument will lead to arbitrary Java code execution.
9-
Unfortunately, it is common that validated (and therefore, normally untrusted) bean properties flow into the custom error message.</p>
7+
<p>Bean validation custom constraint error messages support different types of interpolation,
8+
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>.
9+
Controlling part of the message template being passed to `ConstraintValidatorContext.buildConstraintViolationWithTemplate()`
10+
argument will lead to arbitrary Java code execution. Unfortunately, it is common that validated (and therefore, normally
11+
untrusted) bean properties flow into the custom error message.</p>
1012
</overview>
1113

1214
<recommendation>

0 commit comments

Comments
 (0)