UBUNTU-CVE-2024-28246

Source
https://ubuntu.com/security/CVE-2024-28246
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28246.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-28246
Related
Published
2024-03-25T20:15:00Z
Modified
2025-04-23T15:02:40Z
Summary
[none]
Details

KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's trust option, specifically that provides a function to blacklist certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol. In particular, this can allow for malicious input to generate javascript: links in the output, even if the trust function tries to forbid this protocol via trust: (context) => context.protocol !== 'javascript'. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.8.3+dfsg-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.8.3+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.8.3+dfsg-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.8.3+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.13.11+~cs6.0.0-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.10.2+dfsg-8
0.10.2+dfsg-9
0.10.2+dfsg-10
0.13.11+~cs6.0.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.16.10+~cs6.1.0-2?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.10+~cs6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.16.10+~cs6.1.0-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.4+~cs6.1.0-1
0.16.10+~cs6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.16.10+~cs6.1.0-2?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.10+~cs6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}