CVE-2021-35955: Cross site scripting via HTML attributes in the back end

medium Affects contao/contao, contao/core-bundle. Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .

Cross site scripting via HTML attributes in the back end

Package
contao/contao Composer
Affected versions
>=4.0.0 and <4.4.56 or >=4.5.0 and <4.9.18 or >=4.10.0 and <4.11.7 or >=4.5.0 and <4.6.0 or >=4.6.0 and <4.7.0 or >=4.7.0 and <4.8.0 or >=4.8.0 and <4.9.0 or >=4.9.0 and <4.9.18 or >=4.10.0 and <4.11.0 or >=4.11.0 and <4.11.7
Fixed in
4.4.56, 4.9.18, 4.11.7
Severity
medium  CVSS 5.9
Exploitation
not on CISA KEV · EPSS 1% (47.4th percentile)
Published
2021-08-25
Source
osv.dev

References

Cross site scripting via HTML attributes in the back end

Package
contao/core-bundle Composer
Affected versions
>=4.0.0 and <4.4.56 or >=4.5.0 and <4.9.18 or >=4.10.0 and <4.11.7 or >=4.5.0 and <4.6.0 or >=4.6.0 and <4.7.0 or >=4.7.0 and <4.8.0 or >=4.8.0 and <4.9.0 or >=4.9.0 and <4.9.18 or >=4.10.0 and <4.11.0 or >=4.11.0 and <4.11.7
Fixed in
4.4.56, 4.9.18, 4.11.7
Severity
medium  CVSS 5.9
Exploitation
not on CISA KEV · EPSS 1% (47.4th percentile)
Published
2021-08-25
Source
osv.dev

References

CWE-79
NVD recordcontao/contao advisoriescontao/core-bundle advisories

Quick answers

Is CVE-2021-35955 being actively exploited?

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

Which version fixes CVE-2021-35955?

contao/contao: 4.4.56, 4.9.18, 4.11.7; contao/core-bundle: 4.4.56, 4.9.18, 4.11.7.

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