F5-K000141130: XSS

Published Sep 20, 2024
·
Updated

Jinja is an extensible templating engine. The xmlattr filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, /, >, or =, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for CVE-2024-22195 only addressed spaces but not other characters. Accepting keys as user input is now explicitly considered an unintended use case of the xmlattr filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting values as user input continues to be safe. This vulnerability is fixed in 3.1.4.

Affected Software

1 affected componentFixes available
F5 Traffix SDC=5.1.0
5.2.0

Event History

Sep 20, 2024
Advisory Published
via F5·10:01 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of F5-K000141130?

The severity of F5-K000141130 is considered critical due to its potential to allow an attacker to manipulate XML attributes.

2

How do I fix F5-K000141130?

To fix F5-K000141130, update the Jinja templating engine to a version that sanitizes input keys properly.

3

What software is affected by F5-K000141130?

F5-K000141130 affects F5 Traffix SDC versions 5.1.0 and 5.2.0.

4

What vulnerabilities does F5-K000141130 exploit?

F5-K000141130 exploits improper handling of keys in the Jinja `xmlattr` filter leading to potential manipulation of XML/HTML attributes.

5

Is there a workaround for F5-K000141130?

A temporary workaround for F5-K000141130 is to validate and sanitize user inputs prior to processing them with the Jinja template.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203