Security Advisories (3)
CVE-2016-4566 (2016-05-22)

Cross-site scripting (XSS) vulnerability in plupload.flash.swf in Plupload before 2.1.9, as used in WordPress before 4.5.2, allows remote attackers to inject arbitrary web script or HTML via a Same-Origin Method Execution (SOME) attack.

CVE-2010-5312 (2014-11-24)

Cross-site scripting (XSS) vulnerability in jquery.ui.dialog.js in the Dialog widget in jQuery UI before 1.10.0 allows remote attackers to inject arbitrary web script or HTML via the title option.

CVE-2021-23562 (2021-12-03)

This affects the package plupload before 2.3.9. A file name containing JavaScript code could be uploaded and run. An attacker would need to trick a user to upload this kind of file.

NAME

Yukki::Error - Yukki's exception class

VERSION

version 0.140290

SYNOPSIS

Yukki::Error->throw("Something really bad.", { ... });

DESCRIPTION

If you look at Throwable::Error, you know what this is. Same thing, different name.

EXPORTS

http_exception

my $error = http_exception('message', {
    status           => 'InternalServerError',
    show_stask_trace => 0,
});

Creates a new exception object. Calls the constructor for Yukki:Error and applied the HTTP::Throwable status role needed (prior to construction actually).

http_throw

http_throw('message', {
    status           => 'InternalServerError',
    show_stask_trace => 0,
});

Constructs the exception (via "http_exception") and throws it.

ATTRIBUTES

status

This is the name of the status role from HTTP::Throwable that will be applied to the exception when it is thrown.

+status_code

+reason

These are lazy.

sub default_status_code { 500 } sub default_reason { 'Internal Server Error' }

METHODS

BUILDARGS

Sets it up so that the constructor will take the message as the first argument.

body

Renders the HTML body for the error.

body_headers

Setup the HTTP headers.

as_string

Returns the message.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.