Bug ID 423282: BIG-IP JavaScript includes can be improperly injected in case of conditional commment presence

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
10.1.0, 10.2.0, 10.2.1, 10.2.2, 10.2.3, 10.2.4, 11.0.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2 HF1, 11.5.3 HF1, 11.1.0, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1, 11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.1.0 HF1, 12.1.0 HF2, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.0.0, 11.6.0 HF6, 11.5.3 HF2, 11.4.1 HF9

Opened: Jun 14, 2013

Severity: 3-Major

Related Article: K17116

Symptoms

JavaScript does not work if a page contains conditional comments inside its head tag.

Impact

JavaScript does not work.

Conditions

Presence of conditional comments contain very first script tag. Example: <html> <!--[if lt IE 9]> <script src="foo.js"></script> <![endif]--> <script> document.write("foo"); </script> </html>

Workaround

To work around the problem, use an iRule. The exact commands to use depend on the situation.

Fix Information

The issue has been fixed by adding necessary JavaScript includes into every conditional branch.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips