Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2021-43808: Blade `@parent` Exploitation Leading To Possible XSS in Laravel

MediumCVSS 6.1 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 24/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.82% (FIRST EPSS); higher than 57.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: php-laravel-framework (Debian:12) 6.20.14+dfsg-3; illuminate/view (Packagist) 7.30.6, 8.75.0, 6.20.42; laravel/framework (Packagist) 7.30.6, 8.75.0, 6.20.42.

Low priority for now. Upgrade to php-laravel-framework (Debian:12) 6.20.14+dfsg-3; illuminate/view (Packagist) 7.30.6, 8.75.0, 6.20.42; laravel/framework (Packagist) 7.30.6, 8.75.0, 6.20.42 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Dec 7, 2021
Updated
Jun 17, 2026
EPSS
0.8% · 57th percentile

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.8%

CNA vs NVD score

NVD
6.1
CNA · GitHub_M
5.3
0.8 point gap

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-43808

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Limit the impact of XSSCheck security headers

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Limit the impact of XSSCheck security headers

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
laravelframework

Limit the impact of XSS

This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.

Check security headers

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • laravel framework

    • >= 8.0.0, < 8.75.0, >= 7.0.0, < 7.30.6, < 6.20.42affected

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • laravel frameworkbefore 6.20.42
  • laravel framework7.0.0 and later · before 7.30.6
  • laravel framework8.0.0 and later · before 8.75.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12php-laravel-frameworkbefore 6.20.14+dfsg-36.20.14+dfsg-3
Packagistilluminate/viewfrom 7.0.0 · before 7.30.67.30.6
Packagistilluminate/viewfrom 8.0.0 · before 8.75.08.75.0
Packagistilluminate/viewbefore 6.20.426.20.42
Packagistlaravel/frameworkfrom 7.0.0 · before 7.30.67.30.6
Packagistlaravel/frameworkfrom 8.0.0 · before 8.75.08.75.0
Packagistlaravel/frameworkbefore 6.20.426.20.42

Other highest-scoring records for the same primary product.

  • CVE-2024-52301Laravel allows environment manipulation via query string
    47Plan
  • CVE-2021-43617Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because…
    45Plan
  • CVE-2026-114509Laravel TokenGuard authentication bypass through non-string API credentials
    37Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2018-6330Mar 28, 2019 · Laravel 5.4.15 is vulnerable to Error based SQL injection in save.php via dhx_user and dhx_version parameters.
    35Monitor
  • Later →CVE-2020-19316Dec 20, 2021 · OS Command injection vulnerability in function link in Filesystem.php in Laravel Framework before 5.8.17.
    36Monitor
  • Later →CVE-2022-40482Apr 25, 2023 · The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing…
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:php-laravel-framework6.20.14+dfsg-3 · Debian:12Package registry (OSV)
Packagist:illuminate/view6.20.42Package registry (OSV)
Packagist:illuminate/view7.30.6Package registry (OSV)
Packagist:illuminate/view8.75.0Package registry (OSV)
Packagist:laravel/framework6.20.42Package registry (OSV)
Packagist:laravel/framework7.30.6Package registry (OSV)
Packagist:laravel/framework8.75.0Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

nvd-primary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

References

All records