All reports
Medium

Improper regex in htaccess file

Affected versions

Composermautic/core
Affected versions
>= 4.0.0, < 4.2.0
Fixed version
4.2.0
Composermautic/core
Affected versions
< 3.3.5
Fixed version
3.3.5

Exploitation

CVE-2022-25769

Probability of exploitation in the next 30 days: 0.51%

FIRST EPSS · 2026-11-21

Description

Impact

the default .htaccess file has some restrictions in the access to PHP files to only allow specific PHP files to be executed in the root of the application.

This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.

Patches

Please upgrade to 3.3.5 or 4.2.0

Workarounds

No

References
For more information

If you have any questions or comments about this advisory:

  • Email us at security@mautic.org

Links

Credits

  • mollux