Every PDF contains metadata that describes its creation history. Standard fields include: Title, Author, Subject, Keywords, Creator (authoring software), Producer (PDF generator), CreationDate, and ModDate. Extended
XMP metadata may also contain document IDs, processing history, rights management data, and custom properties added by enterprise document systems.
Before sharing a PDF externally:
1. **Inspect with ExifTool**: Run
exiftool filename.pdf to see all metadata fields. Pay attention to Author (may contain a user's full name or Active Directory username), Creator (reveals software and version — useful for attackers targeting that software), and any custom fields added by your CRM, DMS, or authoring tool.
2. **Strip metadata**: Adobe Acrobat's Document Properties dialog allows manual editing. For bulk stripping,
ExifTool can remove all writable metadata with
exiftool -all= filename.pdf. Note that some metadata (like embedded fonts) cannot and should not be removed.
3. **Check embedded content**: PDFs can embed attachments (
PDF Portfolios), embedded files, and JavaScript. Check for these in Acrobat under Tools > Examine Document.
The
UK NCSC guidance on metadata in documents recommends stripping metadata from all documents before external sharing as a default practice.