Security Advisories (5)
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-41182 (2021-10-26)

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.

CVE-2021-41183 (2021-10-26)

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.

CVE-2021-41184 (2021-10-26)

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `of` option of the `.position()` util from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `of` option is now treated as a CSS selector. A workaround is to not accept the value of the `of` option from untrusted sources.

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.

NAME

Yukki::Web::Response - the response to the client

VERSION

version 0.140290

DESCRIPTION

An abstraction around the HTTP response that is astonishingly similar to Plack::Response. Call finalize to get the final PSGI response.

ATTRIBUTES

response

This is the internal Plack::Response object. Do not use.

Use the delegated methods instead:

status headers body header content_type content_length content_encoding
redirect location cookies finalize

page_title

This is the title to give the page in the HTML.

This is the navigation menu to place in the page. This is an array of hashes. Each entry should look like:

{
    label => 'Label',
    href  => '/link/to/somewhere',
    sort  => 50,
}

A sorted list of items is retrieved using "navigation_menu". New items can be added with the "add_navigation_item" and "add_navigation_items" methods.

This is the breadcrumb to display. It is an empty array by default (meaning no breadcrumb). Each element of the breadcrumb is formatted like navigation, except that sort is not used here.

METHODS

my @items = $response->navigation_menu('repository');

Returns a sorted list of navigation items for the named menu.

add_navigation_item

add_navigation_items

$response->add_navigation_item(menu_name => {
    label => 'Link Title',
    url   => '/path/to/some/place',
    sort  => 50,
});

Add one or more items to the named menu. The first argument is always the name or names of the menu. Mutliple names may be given in an array reference. If multiple names are given, the menu items given will be added to each menu named. The remaining arguments are hash references that must have a label and a url. The sort is optional.

"add_navigation_item" is a synonym for "add_navigation_items".

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.