MojoliciousCVEs & Vulnerabilities

8 CVEs affecting Mojolicious products, tracked from the National Vulnerability Database, with CVSS/EPSS scores and exploitation status.

Most Affected Products

mojolicious 315
CVE-2024-58134HIGH

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

3 May 2025
8.1
CVSS
CVE-2024-58135MEDIUM

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default. When creating a default app skeleton with the "mojo generate app" tool, a weak secret is written to the application's configuration file using the insecure rand() function, and used for authenticating and protecting the integrity of the application's sessions. This may allow an attacker to brute force the application's session keys. Release 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX. Users should be aware that the update does not replace previously generated weak secrets. A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.

3 May 2025
5.3
CVSS
CVE-2021-47208MEDIUM

The Mojolicious module before 9.11 for Perl has a bug in format detection that can potentially be exploited for denial of service.

8 Apr 2024
4.3
CVSS
CVE-2011-1841MEDIUM

Cross-site scripting (XSS) vulnerability in the link_to helper in Mojolicious before 1.12 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

3 May 2011
4.3
CVSS
CVE-2010-4803CRITICAL

Mojolicious before 0.999927 does not properly implement HMAC-MD5 checksums, which has unspecified impact and remote attack vectors.

3 May 2011
10.0
CVSS
CVE-2010-4802CRITICAL

Commands.pm in Mojolicious before 0.999928 does not properly perform CGI environment detection, which has unspecified impact and remote attack vectors.

3 May 2011
10.0
CVSS
CVE-2009-5074CRITICAL

Unspecified vulnerability in the MojoX::Dispatcher::Static implementation in Mojolicious before 0.991250 has unknown impact and attack vectors.

3 May 2011
10.0
CVSS
CVE-2011-1589MEDIUM

Directory traversal vulnerability in Path.pm in Mojolicious before 1.16 allows remote attackers to read arbitrary files via a %2f..%2f (encoded slash dot dot slash) in a URI.

30 Apr 2011
5.0
CVSS
← PrevPage 1 / 1Next →