I found my own answer. Because the percent width and height are actually allowed by modern browsers I changed the values in the /libs/cq/xssprotection/config.xml file from:
<tag name="iframe" action="validate">
<attribute name="src">
<regexp-list>
<regexp name="iframesrc"/>
</regexp-list>
</attribute>
<attribute name="height">
<regexp-list><regexp name="number"/></regexp-list>
</attribute>
<attribute name="width">
<regexp-list><regexp name="number"/></regexp-list>
</attribute>
<attribute name="frameborder">
<regexp-list><regexp name="number"/></regexp-list>
</attribute>
</tag>
to:
<tag name="iframe" action="validate">
<attribute name="src">
<regexp-list>
<regexp name="iframesrc"/>
</regexp-list>
</attribute>
<attribute name="height">
<regexp-list><regexp name="numberOrPercent"/></regexp-list>
</attribute>
<attribute name="width">
<regexp-list><regexp name="numberOrPercent"/></regexp-list>
</attribute>
<attribute name="frameborder">
<regexp-list><regexp name="number"/></regexp-list>
</attribute>
<attribute name="allow">
<regexp-list><regexp name="anything"/></regexp-list>
</attribute>
</tag>
And now the height and width allow the percent and allow attribute to pass.
I'm not sure how a percent width would be an XSS violation. Maybe someone could enlighten me.