diff --git a/docs/en_US/release_notes_6_15.rst b/docs/en_US/release_notes_6_15.rst index 971a38e40..ee87e7d07 100644 --- a/docs/en_US/release_notes_6_15.rst +++ b/docs/en_US/release_notes_6_15.rst @@ -48,3 +48,4 @@ Bug fixes | `Issue #5367 `_ - Ensure that the correct value should be returned if an exception occurs while decoding the password. | `Issue #5368 `_ - Fixed the issue while downloading the file from the file manager. | `Issue #5402 `_ - Ensure that scroll bar on browser tree should be visible on windows resize. + | `Issue #5405 `_ - Fixed the cross-site scripting vulnerability. diff --git a/web/pgadmin/misc/file_manager/static/js/components/FileManager.jsx b/web/pgadmin/misc/file_manager/static/js/components/FileManager.jsx index d2f44319b..147cdda82 100644 --- a/web/pgadmin/misc/file_manager/static/js/components/FileManager.jsx +++ b/web/pgadmin/misc/file_manager/static/js/components/FileManager.jsx @@ -32,7 +32,7 @@ import convert from 'convert-units'; import PropTypes from 'prop-types'; import { downloadBlob } from '../../../../../static/js/utils'; import ErrorBoundary from '../../../../../static/js/helpers/ErrorBoundary'; - +import _ from 'lodash'; const useStyles = makeStyles((theme)=>({ footerSaveAs: { @@ -729,7 +729,7 @@ export default function FileManager({params, closeModal, onOK, onCancel}) { {viewMode == 'grid' && } - setErrorMsg('')} /> + setErrorMsg('')} /> {params.dialog_type == 'create_file' && Save As diff --git a/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx b/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx index bd38d4f45..847ef5b64 100644 --- a/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx +++ b/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx @@ -102,7 +102,7 @@ export default function ConnectServerContent({closeModal, data, onOK, setHeight} onChange={(e)=>onTextChange(e.target.checked, 'save_password')} disabled={!data.allow_save_password} /> } -