style attribute contains potentially dangerous content
Style attributes are very problematic in feeds. One one hand, they can be used to convey important Unicode or accessibility information. Style attributes even at times have been used to convey semantic information. But on the other hand, they can be used as Trojan Horses and cause dangerous scripts to be executed.
The list of dangerous properties varies from browser to browser, and even from browser version to browser version. As such the Feed Validator takes a allow-list approach, and only accepts the following CSS properties:
Additionally, the values of a number of these properties can be problematic to verify as safe, so any references to URIs or difficult to parse constructs should be avoided.
Consider simplifying or completely removing the potentially unsafe
style attribute. At a minimum, ensure that your content will
still display as intended if this attribute is stripped by
security conscious clients.
Not clear? Disagree?
You might be able to find help in one of these fine resources.