You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems this method is intended to extract the value between the first quote in the src attribute and the last quote in the src attribute.
However, the method actually extracts the value between the first quote in the src attribute and the last quote in the script tag.
For example, if the script tag is as below, ScannerFacade#findScriptURL returns /jquery-1.4.3,.min.js" type="text/javascript.
The file matcher works on the substring after the last slash of the extracted value, so in this case, it processes javascript.
Therefore, the library with vulnerabilities jquery-1.4.3.min.js is not detected.
The text was updated successfully, but these errors were encountered:
MasanoriOnuki
added a commit
to MasanoriOnuki/burp-retire-js
that referenced
this issue
Jun 14, 2024
The method ScannerFacade#findScriptUrl does not correctly extract only the
src
attribute value.It seems this method is intended to extract the value between the first quote in the
src
attribute and the last quote in thesrc
attribute.However, the method actually extracts the value between the first quote in the
src
attribute and the last quote in thescript
tag.For example, if the script tag is as below,
ScannerFacade#findScriptURL
returns/jquery-1.4.3,.min.js" type="text/javascript
.The file matcher works on the substring after the last slash of the extracted value, so in this case, it processes
javascript
.Therefore, the library with vulnerabilities
jquery-1.4.3.min.js
is not detected.The text was updated successfully, but these errors were encountered: