Intel

AIKIDO-2024-10553

html-sanitizer is vulnerable to Improper Input Validation

Improper Input ValidationCVE-2024-34078 Published Dec 19, 2024

46

Medium Risk

This Affects:

pythonhtml-sanitizer
1.0.0 - 2.4.1
Fixed in 2.4.2
Are you affected? Scan for Free

TL;DR

Affected versions of this package use sanitization methods that delay Unicode normalization, which allows specially crafted HTML to bypass the validation for disallowed tags. An attacker could exploit this design flaw to carry out attacks such as Cross-Site Scripting (XSS) or other injection-based vulnerabilities.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

html-sanitizer is vulnerable to Improper Input Validation in versions 1.0.0 - 2.4.1.

How to fix this

Upgrade the html-sanitizer library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform