CyberSecBulletin

Improper Neutralization of Script-Related HTML Tags in a Web Page

CWE-80

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.

We track 65 vulnerabilities of this type. 95% are rated high or critical, and the average CVSS score is 8.0. 3 have been exploited in real attacks.

How this weakness is prevented

  • Implementation: With Struts, write all data from form beans with the bean's filter attribute set to true.

Latest Improper Neutralization of Script-Related HTML Tags in a Web Page vulnerabilities