CVE-2026-142154 PUBLISHED

CodeIgniter4 before 4.7.5 Code Injection via View Parser Conditionals

Assigner: VulnCheck
Reserved: 02.12.2026 Published: 02.12.2026 Updated: 02.12.2026

CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as online email templates, can inject crafted conditionals to execute arbitrary PHP code on the server.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor codeigniter4
Product CodeIgniter4
Versions Default: unaffected
  • affected from 0 to 4.7.5 (excl.)
  • Version 4.7.5 is unaffected

Credits

  • RajeshSagar2912 reporter

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE