Datatables.net package updates#12682
Merged
Merged
Conversation
🔴 Risk threshold exceeded.This pull request contains a sensitive edit to the base.html template and introduces DataTables dependencies with historical vulnerabilities, though neither finding is currently blocking the merge.
🔴 Configured Codepaths Edit in
|
| Vulnerability | Configured Codepaths Edit |
|---|---|
| Description | Sensitive edits detected for this file. Sensitive file paths and allowed authors can be configured in .dryrunsecurity.yaml. |
Dependency Security Risk in components/package.json
| Vulnerability | Dependency Security Risk |
|---|---|
| Description | The patch introduces DataTables dependencies with known historical vulnerabilities. Specifically, CVE-2020-28458 indicates a prototype pollution vulnerability, and CVE-2021-36713 reveals a potential Cross-Site Scripting (XSS) risk. While the specific versions added might have addressed these issues, the introduction of these libraries increases the application's potential attack surface. |
django-DefectDojo/components/package.json
Lines 12 to 20 in cacac95
We've notified @mtesauro.
All finding details can be found in the DryRun Security Dashboard.
Member
|
I was asked to review and fix if possible. I added three commits:
|
valentijnscholten
approved these changes
Jun 25, 2025
Maffooch
approved these changes
Jun 25, 2025
hblankenship
approved these changes
Jun 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have received pre-approval to submit this pull request.
Description
This update brings the database.net libraries up to their current versions, being:
"datatables.net": "^1.13.4",
"datatables.net-buttons-bs": "^2.3.6",
"datatables.net-buttons-dt": "^2.3.6",
"datatables.net-colreorder": "^1.6.1",
"datatables.net-dt": "^1.13.4",
This update also necessitated updating a couple links in the base.html file due to a change within the libraries.
Test results
All the tests within
tests/anddojo/unittestsseem to have passed. This was confirmed by members of the Dojo team as well.Documentation
No documentation updates were necessary.
Checklist
This checklist is for your information.
dev.dev.bugfixbranch.