\htmlData does not validate attribute names in KaTeX
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| KaTeX | KaTeX | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat OpenShift Dev Spaces 3 Containers | |||
| devspaces/code-rhel9:3.19-20 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/configbump-rhel9:3.19-4 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/dashboard-rhel9:3.19-18 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/devspaces-operator-bundle:3.19-28 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/devspaces-rhel9-operator:3.19-9 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/imagepuller-rhel9:3.19-1 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/machineexec-rhel9:3.19-3 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/pluginregistry-rhel9:3.19-6 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/server-rhel9:3.19-11 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces-tech-preview/idea-rhel9:3.19-3 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces-tech-preview/jetbrains-ide-rhel9:3.19-1 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/traefik-rhel9:3.19-2 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
| devspaces/udi-rhel9:3.19-6 | cpe:/a:redhat:openshift_devspaces:3::el9 | RHSA-2025:2753 | 2025-03-13T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-0112 | KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the `trust` option, or set it to forbid `\htmlData` commands, forbid inputs containing the substring `"\\htmlData"` and sanitize HTML output from KaTeX. |
Github GHSA |
GHSA-cg87-wmx4-v546 | KaTeX \htmlData does not validate attribute names |
Ubuntu USN |
USN-7572-1 | KaTeX vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.406% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Katex
Katex katex |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:katex:katex:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Katex
Katex katex |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat openshift Devspaces |
|
| CPEs | cpe:/a:redhat:openshift_devspaces:3::el9 | |
| Vendors & Products |
Redhat
Redhat openshift Devspaces |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the `trust` option, or set it to forbid `\htmlData` commands, forbid inputs containing the substring `"\\htmlData"` and sanitize HTML output from KaTeX. | |
| Title | \htmlData does not validate attribute names in KaTeX | |
| Weaknesses | CWE-116 | |
| References |
| |
| Metrics |
cvssV3_1
|