# CVE-2026-65903: DOMPurify before 3.4.0 ADD\_TAGS Function Bypasses FORBID\_TAGS

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-23 · Modified: 2026-07-23
- Aliases: UBUNTU-CVE-2026-65903, DEBIAN-CVE-2026-65903, CGA-8w8v-ffc5-jpq6, CGA-f2vv-qpx3-c9xp, CGA-f94f-qg6m-mm67, CGA-j75m-7h6v-5wfv, CGA-r6fq-37q2-hj5c, CGA-w6g9-2gxc-mrg9, CGA-ww9w-7g95-2fpw, CGA-x2c2-fqq9-mh28, GHSA-39q2-94rc-95cp, CGA-2769-hrf5-8pw7, CGA-27jw-xww2-j67m, CGA-29rj-pp38-274m, CGA-2g34-8fcw-m3pw, CGA-2j4w-62f3-qp4m, CGA-38c6-rcw8-62wc, CGA-3h7j-4425-qjhm, CGA-3wmm-j8hw-5778, CGA-4464-53v2-h924, CGA-44jm-7924-7rw9, CGA-4g7c-9p9w-mx3v, CGA-4gj6-hf5x-746c, CGA-4h3h-f2mm-535h, CGA-5974-h76f-gj97, CGA-5c5g-5qf9-cq6q, CGA-5chw-68mq-6wh8, CGA-5hfq-jgxq-fcvj, CGA-5rc6-m9wc-5rpc, CGA-5v8p-cqhc-xmhv, CGA-6334-fwpp-68x4, CGA-75g6-xrvc-36rj, CGA-79r8-jqj2-rhfc, CGA-7p2j-55hv-hh3g, CGA-7xgf-28j4-wj57, CGA-82pp-q5c8-mj8r, CGA-84v5-h5gj-3592, CGA-8q3g-2g3x-24x6, CGA-953r-88w4-xv99, CGA-9993-862h-m4p5, CGA-9cgv-ppcq-pqjm, CGA-9qh6-qx95-vm7j, CGA-9r6x-8vhq-p5f3, CGA-9v2h-cx3j-jpg8, CGA-c5jx-rjwh-4vg9, CGA-c7g7-43jh-g395, CGA-ccr3-5wm7-q8qr, CGA-cq5p-f3jx-w55x, CGA-f3m4-g25g-4v65, CGA-f8xr-fv8r-3f75, CGA-f943-mmrh-3mpp, CGA-fgcr-fmw5-8g86, CGA-fh44-g5x5-v2xr, CGA-fqh3-jwwq-wvfg, CGA-g34q-j4w2-xmf3, CGA-g72q-2rcq-wgcf, CGA-gq8q-426v-h3j6, CGA-gwjc-23q6-vw45, CGA-h897-3gq9-wqqc, CGA-hpmj-9rx6-vcwh, CGA-j83r-3fxc-prrf, CGA-jcc7-9vp5-2wmj, CGA-jfqv-xr73-mx78, CGA-jxxh-j9q2-f443, CGA-mc95-mg4p-3gpr, CGA-mhcv-mp79-4g4c, CGA-mj4m-9p2f-98hc, CGA-mpqc-7467-w6pp, CGA-p32m-372q-2ff3, CGA-p4mh-9m3g-q26x, CGA-p9wp-563f-fxgq, CGA-pcqp-4222-pj7x, CGA-pgc2-823v-f4qx, CGA-ph24-rw72-mcpf, CGA-pmg6-289f-2m3p, CGA-qr53-pjxv-4vg9, CGA-qv6p-7q3r-h4mw, CGA-r7h9-6w45-hg7v, CGA-rjr9-f26g-q7h2, CGA-rppq-rhxj-3g2p, CGA-v483-j865-mmg6, CGA-v95v-97gp-457m, CGA-v967-2x3x-v323, CGA-vcc6-9qvr-r52p, CGA-vcx4-p37v-wwfr, CGA-vfp5-94r9-38rp, CGA-vvf2-49vp-7q9p, CGA-wc9f-65v2-9g59, CGA-wrrv-xfjv-h3vj, CGA-wwf8-vwwj-r2h9, CGA-x9gv-rf43-898f, CGA-xgc8-4mph-7mf4, CGA-xhp2-jqjw-49fr, CGA-xx25-647p-84wx, CGA-xxvf-4wcr-72xx, CGA-xxwf-443f-cvh2
- Record: https://cvemate.com/vulnerability/CVE-2026-65903 · JSON: https://cvemate.com/vulnerability/CVE-2026-65903/json

## Description

```text
DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 4.128%, percentile 91.103%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 51)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.12-r2
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): \< 18.9.8-r8
- chainguard kibana-9.2 (Chainguard): \< 9.2.7-r5
- chainguard langfuse-2 (Chainguard): \< 2.95.12-r19

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-39q2-94rc-95cp>
- <https://www.vulncheck.com/advisories/dompurify-before-add-tags-function-bypasses-forbid-tags>
- <https://ubuntu.com/security/CVE-2026-65903>
- <https://www.cve.org/CVERecord?id=CVE-2026-65903>
- <https://security-tracker.debian.org/tracker/CVE-2026-65903>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65903.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-65903>
- <https://github.com/cure53/DOMPurify>

---

Data as of 2026-12-05T10:02:28.890Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
