A6:2021 | Vulnerable and Outdated Components (5) | Cycubix Docs
PreviousA6:2021 | Vulnerable and Outdated Components (4) | Cycubix DocsNextA6:2021 | Vulnerable and Outdated Components (6) | Cycubix Docs
Last updated
Last updated
Below is an example of using the same WebGoat source code, but different versions of the jquery-ui component. One is exploitable; one is not.
This example allows the user to specify the content of the "closeText" for the jquery-ui dialog. This is an unlikely development scenario, however the jquery-ui dialog (TBD - show exploit link) does not defend against XSS in the button text of the close dialog.
Using the same WebGoat source code but upgrading the jquery-ui library to a non-vulnerable version eliminates the exploit.
After clicking on both codes, analyze the following answer: