SecurityContext

CVE-2026-107845: Contao - Stored XSS

  • Cve: CVE-2026-107845
  • Name: Contao - Stored XSS
  • Description: Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and 5.7.12, an unauthenticated visitor can submit a comment whose email or website metadata is rendered without sufficient attribute and URL encoding by listComments() in comments-bundle/contao/dca/tl_comments.php. When a backend user opens the Comments module, attacker-controlled script can execute in the Contao backend origin under that user's session. Unpublished comments remain visible to moderators, so moderation does not prevent exposure. This issue is fixed in versions 5.3.50 and 5.7.12.
  • Impact: Attackers can execute scripts in backend user sessions, potentially leading to session hijacking or further attacks within the backend.
  • Remediation: Update to versions 5.3.50 or 5.7.12 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: stored_xss
  • Requirement type: user_interaction
  • Requirements: Backend user must open the Comments module
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
  • Epss score: 0.00277
  • Epss percentile: 0.20231
  • Assignee: [email protected]
  • Published at: 2026-10-09T20:17:10Z
  • Age in days: 46
  • Modified at: 2026-10-16T17:17:04Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-107845
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a
https://github.com/contao/contao/releases/tag/5.3.50
https://github.com/contao/contao/releases/tag/5.7.12
https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r

Products

ProductAffectedPlatform boundSourcesUrl
contao:contao>= 5.4.0-rc1, < 5.7.12; >= 4.0.0, < 5.3.50nocna_alias_text/v1/products/contao/contao

Projects

RepositoryLink kindsIndexedUrl
contao/contaocommit, fix, package, releases, security_advisoryyes/v1/repositories/contao/contao

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1935
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports