Security Advisories (2)
CVE-2015-3451 (2015-04-23)

The _clone function does not properly set the expand_entities option, which allows remote attackers to conduct XML external entity (XXE) attacks via crafted XML data to the (1) new or (2) load_xml function.

CVE-2017-10672 (2015-04-23)

Use-after-free in the XML-LibXML module through 2.0129 for Perl allows remote attackers to execute arbitrary code by controlling the arguments to a replaceChild call.

NAME

XML::LibXML::CDATASection - XML::LibXML Class for CDATA Sections

SYNOPSIS

use XML::LibXML;
# Only methods specific to CDATA nodes are listed here,
# see XML::LibXML::Node manpage for other methods

$node = XML::LibXML::CDATASection( $content );

DESCRIPTION

This class provides all functions of XML::LibXML::Text, but for CDATA nodes.

METHODS

The class inherits from XML::LibXML::Node. The documentation for Inherited methods is not listed here.

Many functions listed here are extensively documented in the DOM Level 3 specification (http://www.w3.org/TR/DOM-Level-3-Core/). Please refer to the specification for extensive documentation.

new
$node = XML::LibXML::CDATASection( $content );

The constructor is the only provided function for this package. It is required, because libxml2 treats the different text node types slightly differently.

AUTHORS

Matt Sergeant, Christian Glahn, Petr Pajas

VERSION

1.66

COPYRIGHT

2001-2007, AxKit.com Ltd; 2002-2006 Christian Glahn; 2006-2008 Petr Pajas, All rights reserved.