Security Advisories (13)
CPANSA-Mojolicious-2022-03 (2022-12-10)

Mojo::DOM did not correctly parse <script> tags.

CPANSA-Mojolicious-2021-02 (2021-06-01)

Small sessions could be used as part of a brute-force attack to decode the session secret.

CVE-2021-47208 (2021-03-16)

A bug in format detection can potentially be exploited for a DoS attack.

CPANSA-Mojolicious-2018-03 (2018-05-19)

Mojo::UserAgent was not checking peer SSL certificates by default.

CPANSA-Mojolicious-2018-02 (2018-05-11)

GET requests with embedded backslashes can be used to access local files on Windows hosts

CVE-2018-25100 (2018-02-13)

Mojo::UserAgent::CookieJar leaks old cookies because of the missing host_only flag on empty domain.

CPANSA-Mojolicious-2015-01 (2015-02-02)

Directory traversal on Windows

CPANSA-Mojolicious-2014-01 (2014-10-07)

Context sensitivity of method param could lead to parameter injection attacks.

CVE-2011-1589 (2011-04-05)

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.

CVE-2010-4803 (2011-05-03)

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

CVE-2010-4802 (2011-05-03)

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

CVE-2011-1841 (2011-03-10)

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.

CVE-2026-14803 (2026-07-06)

Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder. The pure-Perl decode path (`_decode_value` dispatching to `_decode_array` and `_decode_object`) recurses with no depth limit, so a small deeply nested JSON document can consume excessive memory. This path is the default when Cpanel::JSON::XS is not installed or `MOJO_NO_JSON_XS=1` is set; the Cpanel::JSON::XS fast path is not affected. Any caller that decodes an untrusted JSON body, for example `Mojo::Message::json` reached through `$c->req->json`, can exhaust process memory and cause denial of service.

Changes for version 0.999921 - 2010-02-11

  • Fixed a small kqueue bug.

Documentation

The Definitive Guide To Mojolicious
Frequently Asked Questions

Modules

The Box!
Asset Base Class
File Asset
In-Memory Asset
Minimal Base Class For Mojo Projects
ByteStream
Async IO HTTP 1.1 And WebSocket Client
Command Base Class
CGI Command
Daemon Command
Prefork Daemon Command
FastCGI Command
Generator Command
Application Generator Command
Makefile Generator Command
PSGI Generator Command
Get Command
Test Command
Version Command
Commands
HTTP 1.1 Content Base Class
HTTP 1.1 MultiPart Content Container
HTTP 1.1 Content Container
HTTP 1.1 Cookie Base Class
HTTP 1.1 Request Cookie Container
HTTP 1.1 Response Cookie Container
Cookie Jar For HTTP 1.1 User Agents
HTTP 1.1 Date Container
Exceptions With Context
HTTP 1.1 Filter Base Class
HTTP 1.1 Chunked Filter
Headers
Hello World!
Detect And Access The Project Root Directory In Mojo
Minimalistic Event Loop For TCP Clients And Servers
Minimalistic JSON
Loader
Simple Logger For Mojo
HTTP 1.1 Message Base Class
HTTP 1.1 Request Container
HTTP 1.1 Response Container
Parameter Container
Path
HTTP Server Base Class
CGI Server
Async IO HTTP 1.1 And WebSocket Server
Preforking HTTP 1.1 And WebSocket Server
FastCGI Server
PSGI Server
Stateful Base Class
Perlish Templates!
Transaction Base Class
HTTP 1.1 Transaction Container
WebSocket Transaction Container
Uniform Resource Locator
Upload Container
Controller Base Class
Routes Dispatcher
Serve Static Files
MIME Type Based Renderer
Always Find Your Destination With Routes
Routes Visitor
Routes Pattern
MIME Types
The Web In A Box!
Generator Command
App Generator Command
Lite App Generator Command
Controller Base Class
Micro Web Framework
Plugin Base Class
Agent Condition Plugin
Default Helpers Plugin
EP Renderer Plugin
EPL Renderer Plugin
Header Condition Plugin
JSON Configuration Plugin
POD Renderer Plugin
Powered By Plugin
Request Timer Plugin
Testing Mojo!
Server Tests

Provides

in lib/Mojo/JSON.pm
in lib/Mojo/Server/PSGI.pm