Avast Antivirus: X.509 Error Rendering Command Execution
code.google.com
code.google.com
So while this is very stupid, this ins't excusable under gosh software is complicated, this is basically XSS in a desktop application.
If this was some RCE through the scanning or sand-boxing engine I would say fine, but this is pretty much the most common web vulnerability out there, I don't understand companies that build HTML based interfaces and decide to simply forgo all of the existing guidelines for web development because it's not a website.
You're right - this happened precisely because they've made the software more complex than it needs to be. There's literally nothing in a certificate which requires HTML rendering capabilities. Using a plaintext field, the way it would've been done before the "web everything" trend, would not have resulted in this vulnerability.
I have a MITM proxy for filtering too, and testing it with the PoC cert just causes the CN to be displayed as plaintext in the warning message. It does not attempt to interpret it in any other way, as it should be.
I'm not well versed in security, so I can't say anything about this particular mistake; but, as a mathematics teacher, I can say that this is a fantastic description of the perils inherent in any creative activity, not just programming. I hope that I have your permission to steal it for my own future use. :-)
This may be pedantic.. but writing secure software as an individual is not that hard; writing secure software as a team and then publishing that as a product is almost impossible.
The reason that's better is that then your comment is on a level field with everyone else's.