Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2020-4054

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-16 Jun, 2020 | 22:10
Updated At-04 Aug, 2024 | 07:52
Rejected At-
Credits

Cross-site Scripting in Sanitize

In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config or a custom config that allows one or more of the following HTML elements: iframe, math, noembed, noframes, noscript, plaintext, script, style, svg, xmp. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize, potentially resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. This has been fixed in 5.2.1.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:16 Jun, 2020 | 22:10
Updated At:04 Aug, 2024 | 07:52
Rejected At:
▼CVE Numbering Authority (CNA)
Cross-site Scripting in Sanitize

In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config or a custom config that allows one or more of the following HTML elements: iframe, math, noembed, noframes, noscript, plaintext, script, style, svg, xmp. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize, potentially resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. This has been fixed in 5.2.1.

Affected Products
Vendor
rgrove
Product
Sanitize
Versions
Affected
  • >= 3.0.0, < 5.2.1
Problem Types
TypeCWE IDDescription
CWECWE-79CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Type: CWE
CWE ID: CWE-79
Description: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Metrics
VersionBase scoreBase severityVector
3.17.3HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Version: 3.1
Base score: 7.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m
x_refsource_CONFIRM
https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9
x_refsource_MISC
https://github.com/rgrove/sanitize/releases/tag/v5.2.1
x_refsource_MISC
https://www.debian.org/security/2020/dsa-4730
vendor-advisory
x_refsource_DEBIAN
https://usn.ubuntu.com/4543-1/
vendor-advisory
x_refsource_UBUNTU
Hyperlink: https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9
Resource:
x_refsource_MISC
Hyperlink: https://github.com/rgrove/sanitize/releases/tag/v5.2.1
Resource:
x_refsource_MISC
Hyperlink: https://www.debian.org/security/2020/dsa-4730
Resource:
vendor-advisory
x_refsource_DEBIAN
Hyperlink: https://usn.ubuntu.com/4543-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m
x_refsource_CONFIRM
x_transferred
https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9
x_refsource_MISC
x_transferred
https://github.com/rgrove/sanitize/releases/tag/v5.2.1
x_refsource_MISC
x_transferred
https://www.debian.org/security/2020/dsa-4730
vendor-advisory
x_refsource_DEBIAN
x_transferred
https://usn.ubuntu.com/4543-1/
vendor-advisory
x_refsource_UBUNTU
x_transferred
Hyperlink: https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/rgrove/sanitize/releases/tag/v5.2.1
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://www.debian.org/security/2020/dsa-4730
Resource:
vendor-advisory
x_refsource_DEBIAN
x_transferred
Hyperlink: https://usn.ubuntu.com/4543-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:16 Jun, 2020 | 22:15
Updated At:28 Sep, 2020 | 20:15

In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config or a custom config that allows one or more of the following HTML elements: iframe, math, noembed, noframes, noscript, plaintext, script, style, svg, xmp. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize, potentially resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. This has been fixed in 5.2.1.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.17.3HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Secondary3.17.3HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Primary2.06.8MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
Type: Primary
Version: 3.1
Base score: 7.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Type: Secondary
Version: 3.1
Base score: 7.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Type: Primary
Version: 2.0
Base score: 6.8
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:P/I:P/A:P
CPE Matches

sanitize_project
sanitize_project
>>sanitize>>Versions from 3.0.0(inclusive) to 5.2.1(exclusive)
cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:*
Weaknesses
CWE IDTypeSource
CWE-79Primarysecurity-advisories@github.com
CWE ID: CWE-79
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9security-advisories@github.com
Patch
Third Party Advisory
https://github.com/rgrove/sanitize/releases/tag/v5.2.1security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8msecurity-advisories@github.com
Third Party Advisory
https://usn.ubuntu.com/4543-1/security-advisories@github.com
N/A
https://www.debian.org/security/2020/dsa-4730security-advisories@github.com
N/A
Hyperlink: https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/rgrove/sanitize/releases/tag/v5.2.1
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://usn.ubuntu.com/4543-1/
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://www.debian.org/security/2020/dsa-4730
Source: security-advisories@github.com
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

152Records found

CVE-2021-24581
Matching Score-4
Assigner-WPScan
ShareView Details
Matching Score-4
Assigner-WPScan
CVSS Score-8.8||HIGH
EPSS-3.93% / 87.85%
||
7 Day CHG~0.00%
Published-30 Aug, 2021 | 14:11
Updated-03 Aug, 2024 | 19:35
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
Blue Admin <= 21.06.01 - CSRF to Stored Cross-Site Scripting (XSS)

The Blue Admin WordPress plugin through 21.06.01 does not sanitise or escape its "Logo Title" setting before outputting in a page, leading to a Stored Cross-Site Scripting issue. Furthermore, the plugin does not have CSRF check in place when saving its settings, allowing the issue to be exploited via a CSRF attack.

Action-Not Available
Vendor-blue-admin_projectUnknown
Product-blue-adminBlue Admin
CWE ID-CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE ID-CWE-352
Cross-Site Request Forgery (CSRF)
CVE-2020-8477
Matching Score-4
Assigner-Asea Brown Boveri Ltd. (ABB)
ShareView Details
Matching Score-4
Assigner-Asea Brown Boveri Ltd. (ABB)
CVSS Score-8.8||HIGH
EPSS-0.46% / 63.40%
||
7 Day CHG~0.00%
Published-22 Apr, 2020 | 14:46
Updated-04 Aug, 2024 | 10:03
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
ABB System 800xA Information Manager Remote Code Execution

The installations for ABB System 800xA Information Manager versions 5.1, 6.0 to 6.0.3.2 and 6.1 wrongly contain an auxiliary component. An attacker is able to use this for an XSS-like attack to an authenticated local user, which might lead to execution of arbitrary code.

Action-Not Available
Vendor-ABB
Product-800xa_information_managerSystem 800xA Information Manager
CWE ID-CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE ID-CWE-489
Active Debug Code
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
Details not found