express-xss-sanitizer up to 1.1.2 allowedTags cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in express-xss-sanitizer up to 1.1.2. This impacts an unknown function. Executing a manipulation of the argument allowedTags can lead to cross site scripting. This vulnerability appears as CVE-2022-21169. The attack may be performed from remote. There is no available exploit. The affected component should be upgraded.
Details
A vulnerability classified as problematic was found in express-xss-sanitizer up to 1.1.2. This vulnerability affects an unknown part. The manipulation of the argument allowedTags with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. CVE summarizes:
The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.
The weakness was presented 09/26/2022. The advisory is shared for download at github.com. This vulnerability was named CVE-2022-21169 since 02/24/2022. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.007.
Upgrading to version 1.1.3 eliminates this vulnerability. Applying the patch 3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: express-xss-sanitizer 1.1.3
Patch: 3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a
Timeline
02/24/2022 🔍09/26/2022 🔍
09/26/2022 🔍
05/22/2025 🔍
Sources
Advisory: 3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39aStatus: Confirmed
CVE: CVE-2022-21169 (🔍)
GCVE (CVE): GCVE-0-2022-21169
GCVE (VulDB): GCVE-100-209548
Entry
Created: 09/26/2022 13:00Updated: 05/22/2025 00:36
Changes: 09/26/2022 13:00 (51), 10/23/2022 14:46 (1), 10/23/2022 14:51 (11), 05/22/2025 00:36 (15)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.