diff --git a/src/Invoke-ADAudit.ps1 b/src/Invoke-ADAudit.ps1 index 7c0988d..97e983e 100644 --- a/src/Invoke-ADAudit.ps1 +++ b/src/Invoke-ADAudit.ps1 @@ -79,6 +79,23 @@ function ConvertTo-Rfc3339($DateTime) { return $DateTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ") } +# AD attributes (descriptions, sAMAccountName, OS strings, DNs, ...) are +# directory content, not report-generated text -- they can contain anything +# a writer or an attacker put there, including raw HTML. Markdown doesn't +# escape inline HTML by default, so an unescaped '