Cross-Site Scripting in jquery
Moderate severity
GitHub Reviewed
Published
May 20, 2020
to the GitHub Advisory Database
•
Updated Oct 10, 2024
Description
Published by the National Vulnerability Database
May 19, 2020
Reviewed
May 20, 2020
Published to the GitHub Advisory Database
May 20, 2020
Last updated
Oct 10, 2024
Versions of
jquery
prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove<script>
HTML tags that contain a whitespace character, i.e:</script >
, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.Recommendation
Upgrade to version 1.9.0 or later.
References