Bug ID 438604: AVR JavaScript injection takes place regardless of content-type value

Last Modified: Jul 18, 2026

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

Known Affected Versions:
11.5.1, 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

Fixed In:
11.6.0, 11.5.2

Opened: Nov 21, 2013

Severity: 3-Major

Related Article: K17504

Symptoms

AVR will inject JavaScript although it should not.

Impact

AVR can invalidate a response, by injecting JavaScript in a page that is not actually an HTML page.

Conditions

"Page Load Time" in analytic profile is turned on. Send HTTP request with content-type is text/html without the <head> tag.

Workaround

Turn off "Page Load Time" in analytic profile

Fix Information

AVR now checks the Content-Type and the existence of the <head> header in the body of a response, before inserting CSPM JavaScript, so that it only injects the CSPM JavaScript into appropriately formatted HTML documents.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips