diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2589.html b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2589.html
index a0b3b419eed..da04131e0cb 100644
--- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2589.html
+++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2589.html
@@ -23,12 +23,7 @@
Compliant Solution
See
- - MISRA C:2004, 13.7 - Boolean operations whose results are invariant shall not be permitted.
- - MISRA C:2012, 14.3 - Controlling expressions shall not be invariant
- MITRE, CWE-571 - Expression is Always True
- MITRE, CWE-570 - Expression is Always False
- - MITRE, CWE-489 - Leftover Debug Code
- - CERT, MSC12-C. - Detect and remove code that has no effect or is never
- executed
diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2598.html b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2598.html
index b07f57b38ff..4e9af5ee252 100644
--- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2598.html
+++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2598.html
@@ -1,6 +1,8 @@
These minimum restrictions should be applied when handling file uploads:
-- the file upload folder to restrict untrusted files to a specific folder.
-- the file extension of the uploaded file to prevent remote code execution.
+
+ - the file upload folder to restrict untrusted files to a specific folder.
+ - the file extension of the uploaded file to prevent remote code execution.
+
Also the size of the uploaded file should be limited to prevent denial of service attacks. This requirement is covered by the rule S5693.
Noncompliant Code Example
formidable module:
diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4818.html b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4818.html
index 164769bf2d0..8d225f213d0 100644
--- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4818.html
+++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4818.html
@@ -18,7 +18,7 @@ Ask Yourself Whether
input received from sockets is used without being sanitized.
sensitive data is sent via sockets without being encrypted.
-You are at risk if you answered yes to any of these questions.
+There is a risk if you answered yes to any of those questions.
Recommended Secure Coding Practices
- In many cases there is no need to open a socket yourself. Use instead libraries and existing protocols.
diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json
index b5b30c420a0..72cf569a365 100644
--- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json
+++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json
@@ -115,7 +115,7 @@
"S4829",
"S5122",
"S5689",
- "S5691"
+ "S5691",
"S5693"
]
}
diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_recommended_profile.json b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_recommended_profile.json
index 3e1d253e158..5e79283f442 100644
--- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_recommended_profile.json
+++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_recommended_profile.json
@@ -186,7 +186,7 @@
"S4829",
"S5122",
"S5689",
- "S5691"
+ "S5691",
"S5693"
]
}
diff --git a/sonarpedia.json b/sonarpedia.json
index 7bdb595d699..b13aa9b9c49 100644
--- a/sonarpedia.json
+++ b/sonarpedia.json
@@ -3,7 +3,7 @@
"languages": [
"JS"
],
- "latest-update": "2020-07-09T07:43:58.942706Z",
+ "latest-update": "2020-08-21T11:27:42.731721Z",
"options": {
"no-language-in-filenames": true,
"preserve-filenames": true