EPMOSDU-1401-sast fix

Description

Checkmarx complains that untrusted data is embedded into the output without proper sanitization or encoding,
enabling an attacker to inject malicious code into the generated web-page.

Piece of spotted code:

image

image

Original message from Checkmarx:

image

What is the current behavior?

No sanitization is provided for untrusted data.

What is the new behavior?

Sanitization is provided for untrusted data.

Does this introduce a breaking change?

No

Edited by Vladimir Korolevskii (EPAM)

Merge request reports

Loading