aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/graphviz.mdwn
blob: 51b06ebab341d2c682d8769115ea1e919187563f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!template id=plugin name=graphviz author="[[JoshTriplett]]"]]
[[!tag type/chrome type/format]]

This plugin implements the [[ikiwiki/directive/graph]] [[ikiwiki/directive]].
This directive allows embedding [graphviz](http://www.graphviz.org/) graphs in a
page.

Security implications: graphviz does not seem to have any syntax exploitable to
perform file access or shell commands on the server.  However, the graphviz
plugin does make denial of service attacks somewhat easier: any user with edit
privileges can use this plugin to create large files without the need to send
large amounts of data, allowing them to more quickly fill the disk, run the
server out of memory, or use up large amounts of bandwidth.  Any user can
already do these things with just the core of ikiwiki, but the graphviz plugin
allows for an amplification attack, since users can send less data to use large
amounts of processing time and disk usage.

This plugin uses the [[!cpan Digest::SHA1]] perl module.