CVE-2021-21365: Cross-Site Scripting in Bootstrap Package

medium Affects bk2k/bootstrap-package. Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .

Cross-Site Scripting in Bootstrap Package

Package
bk2k/bootstrap-package Composer
Affected versions
>=7.1.0 and <7.1.2 or >=8.0.0 and <8.0.8 or >=9.0.0 and <9.0.4 or >=9.1.0 and <9.1.3 or >=10.0.0 and <10.0.10 or >=11.0.0 and <11.0.3
Fixed in
7.1.2, 8.0.8, 9.0.4, 9.1.3, 10.0.10, 11.0.3
Severity
medium  CVSS 5.4
Exploitation
not on CISA KEV · EPSS 1% (61.9th percentile)
Published
2021-04-29
Source
osv.dev

References

CWE-79
NVD recordbk2k/bootstrap-package advisories

Quick answers

Is CVE-2021-21365 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes CVE-2021-21365?

bk2k/bootstrap-package: 7.1.2, 8.0.8, 9.0.4.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories