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-2021-43808

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-07 Dec, 2021 | 22:20
Updated At-04 Aug, 2024 | 04:03
Rejected At-
Credits

Blade `@parent` Exploitation Leading To Possible XSS in Laravel

Laravel is a web application framework. Laravel prior to versions 8.75.0, 7.30.6, and 6.20.42 contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched in versions 8.75.0, 7.30.6, and 6.20.42 by determining the parent placeholder at runtime and using a random hash that is unique to each request.

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:07 Dec, 2021 | 22:20
Updated At:04 Aug, 2024 | 04:03
Rejected At:
▼CVE Numbering Authority (CNA)
Blade `@parent` Exploitation Leading To Possible XSS in Laravel

Laravel is a web application framework. Laravel prior to versions 8.75.0, 7.30.6, and 6.20.42 contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched in versions 8.75.0, 7.30.6, and 6.20.42 by determining the parent placeholder at runtime and using a random hash that is unique to each request.

Affected Products
Vendor
laravel
Product
framework
Versions
Affected
  • >= 8.0.0, < 8.75.0
  • >= 7.0.0, < 7.30.6
  • < 6.20.42
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.15.3MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw
x_refsource_CONFIRM
https://github.com/laravel/framework/pull/39906
x_refsource_MISC
https://github.com/laravel/framework/pull/39908
x_refsource_MISC
https://github.com/laravel/framework/pull/39909
x_refsource_MISC
https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b
x_refsource_MISC
https://github.com/laravel/framework/releases/tag/v6.20.42
x_refsource_MISC
https://github.com/laravel/framework/releases/tag/v7.30.6
x_refsource_MISC
https://github.com/laravel/framework/releases/tag/v8.75.0
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/laravel/framework/pull/39906
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/pull/39908
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/pull/39909
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/releases/tag/v6.20.42
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/releases/tag/v7.30.6
Resource:
x_refsource_MISC
Hyperlink: https://github.com/laravel/framework/releases/tag/v8.75.0
Resource:
x_refsource_MISC
▼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/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw
x_refsource_CONFIRM
x_transferred
https://github.com/laravel/framework/pull/39906
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/pull/39908
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/pull/39909
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/releases/tag/v6.20.42
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/releases/tag/v7.30.6
x_refsource_MISC
x_transferred
https://github.com/laravel/framework/releases/tag/v8.75.0
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/laravel/framework/pull/39906
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/pull/39908
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/pull/39909
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/releases/tag/v6.20.42
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/releases/tag/v7.30.6
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/laravel/framework/releases/tag/v8.75.0
Resource:
x_refsource_MISC
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:08 Dec, 2021 | 00:15
Updated At:09 Aug, 2022 | 13:17

Laravel is a web application framework. Laravel prior to versions 8.75.0, 7.30.6, and 6.20.42 contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched in versions 8.75.0, 7.30.6, and 6.20.42 by determining the parent placeholder at runtime and using a random hash that is unique to each request.

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.16.1MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Secondary3.15.3MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Primary2.04.3MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
Type: Primary
Version: 3.1
Base score: 6.1
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Type: Primary
Version: 2.0
Base score: 4.3
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:N/I:P/A:N
CPE Matches

laravel
laravel
>>framework>>Versions before 6.20.42(exclusive)
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
laravel
laravel
>>framework>>Versions from 7.0.0(inclusive) to 7.30.6(exclusive)
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
laravel
laravel
>>framework>>Versions from 8.0.0(inclusive) to 8.75.0(exclusive)
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-327Primarynvd@nist.gov
CWE-79Secondarysecurity-advisories@github.com
CWE ID: CWE-327
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-79
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9bsecurity-advisories@github.com
Patch
Third Party Advisory
https://github.com/laravel/framework/pull/39906security-advisories@github.com
Patch
Third Party Advisory
https://github.com/laravel/framework/pull/39908security-advisories@github.com
Patch
Third Party Advisory
https://github.com/laravel/framework/pull/39909security-advisories@github.com
Patch
Third Party Advisory
https://github.com/laravel/framework/releases/tag/v6.20.42security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/laravel/framework/releases/tag/v7.30.6security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/laravel/framework/releases/tag/v8.75.0security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfwsecurity-advisories@github.com
Exploit
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/pull/39906
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/pull/39908
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/pull/39909
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/releases/tag/v6.20.42
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/releases/tag/v7.30.6
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/releases/tag/v8.75.0
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw
Source: security-advisories@github.com
Resource:
Exploit
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found