<s>
webarchive	B-Application
is	O
a	O
Web	B-General_Concept
archive	I-General_Concept
file	I-General_Concept
format	O
available	O
on	O
macOS	B-Application
and	O
Windows	O
for	O
saving	O
and	O
reviewing	O
complete	O
web	O
pages	O
using	O
the	O
Safari	B-Application
web	I-Application
browser	I-Application
.	O
</s>
<s>
The	O
webarchive	B-Application
format	O
differs	O
from	O
a	O
standalone	O
HTML	B-Language
file	I-Language
because	O
it	O
also	O
saves	O
linked	O
files	O
such	O
as	O
images	O
,	O
CSS	B-Language
,	O
and	O
JavaScript	B-Language
.	O
</s>
<s>
The	O
webarchive	B-Application
format	O
is	O
a	O
concatenation	O
of	O
source	O
files	O
with	O
filenames	O
saved	O
in	O
the	O
binary	O
plist	B-Application
format	O
using	O
NSKeyedArchiver	O
.	O
</s>
<s>
Support	O
for	O
webarchive	B-Application
documents	O
was	O
added	O
in	O
Safari	B-Application
4	O
Beta	O
on	O
Windows	O
and	O
is	O
included	O
in	O
subsequent	O
versions	O
.	O
</s>
<s>
Safari	B-Application
in	O
iOS	B-Operating_System
13	I-Operating_System
(	O
iPhone	O
and	O
iPad	O
)	O
has	O
support	O
for	O
web	B-General_Concept
archive	I-General_Concept
files	I-General_Concept
.	O
</s>
<s>
Previously	O
there	O
was	O
a	O
third	O
party	O
iOS	O
app	O
called	O
Web	B-General_Concept
Archive	I-General_Concept
Viewer	O
that	O
provided	O
this	O
functionality	O
.	O
</s>
<s>
A	O
version	O
of	O
the	O
webarchive	B-Application
format	O
is	O
used	O
to	O
bundle	B-Application
whole	O
music	O
albums	O
and	O
movies	O
with	O
extra	O
content	O
and	O
menus	O
inside	O
iTunes	O
LP	O
and	O
Extras	O
.	O
</s>
<s>
Webarchives	B-Application
are	O
automatically	O
generated	O
for	O
ads	O
submitted	O
to	O
Apple	O
's	O
iAd	B-Operating_System
advertising	O
platform	O
.	O
</s>
<s>
The	O
WebKit	B-Language
framework	O
's	O
WebArchive	B-Application
class	O
is	O
used	O
to	O
simplify	O
cutting-and-pasting	O
with	O
whole	O
or	O
partial	O
web	O
pages	O
.	O
</s>
<s>
In	O
February	O
2013	O
,	O
a	O
vulnerability	O
with	O
the	O
webarchive	B-Application
format	O
was	O
discovered	O
and	O
reported	O
by	O
Joe	O
Vennix	O
,	O
a	O
Metasploit	B-Application
Project	I-Application
developer	O
.	O
</s>
<s>
The	O
exploit	O
allows	O
an	O
attacker	O
to	O
send	O
a	O
crafted	O
webarchive	B-Application
to	O
a	O
user	O
containing	O
code	O
to	O
access	O
cookies	B-Application
,	O
local	O
files	O
,	O
and	O
other	O
data	O
.	O
</s>
<s>
This	O
requires	O
one	O
of	O
the	O
free	O
tools	O
WebArchive	B-Application
Folderizer	O
(	O
for	O
OS	O
X	O
10.2	O
and	O
higher	O
)	O
or	O
WebArchive	B-Application
Extractor	O
(	O
for	O
OS	O
X	O
10.4.3	O
and	O
higher	O
)	O
.	O
</s>
<s>
MAFF	B-Operating_System
is	O
an	O
open	O
format	O
(	O
with	O
a	O
published	O
specification	O
)	O
that	O
enables	O
saving	O
of	O
whole	O
webpages	O
in	O
a	O
single	O
file	O
.	O
</s>
<s>
It	O
is	O
currently	O
supported	O
by	O
Firefox	B-Application
,	O
using	O
an	O
extension	O
.	O
</s>
<s>
Other	O
web	O
browsers	O
use	O
the	O
MHTML	B-Application
format	O
or	O
do	O
the	O
equivalent	O
by	O
saving	O
a	O
directory	O
of	O
inline	O
resources	O
(	O
usually	O
images	O
)	O
alongside	O
the	O
HTML	B-Language
file	I-Language
,	O
sometimes	O
compressed	O
,	O
like	O
the	O
.war	O
format	O
used	O
by	O
Konqueror	B-Application
(	O
tar+gzip	O
or	O
tar+bzip2	O
)	O
.	O
</s>
<s>
Safari	B-Application
does	O
not	O
support	O
these	O
alternative	O
archive	B-Application
formats	O
.	O
</s>
<s>
For	O
archiving	O
entire	O
websites	O
,	O
the	O
Internet	O
Archive	B-Application
has	O
developed	O
the	O
Web	B-General_Concept
ARChive	I-General_Concept
(	O
WARC	O
)	O
format	O
which	O
was	O
standardized	O
by	O
ISO	O
.	O
</s>
<s>
HTML	B-Language
Designing	O
(	O
HTML	B-Language
Directory	O
)	O
is	O
a	O
NeXT-developed	O
format	O
for	O
saving	O
web	O
pages	O
and	O
their	O
dependencies	O
in	O
a	O
bundle	B-Application
that	O
may	O
also	O
be	O
served	O
by	O
a	O
web	O
server	O
.	O
</s>
