# CVE-2026-27142: URLs in meta content attribute actions are not escaped in html/template

> Attackers can execute arbitrary JavaScript via unescaped URLs in meta content attributes when http-equiv refresh is used.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 6 Mar 2026
- **Updated:** 16 Mar 2026
- **Also known as:** AZL-79601, AZL-79604, AZL-79607, AZL-79616, AZL-79619, AZL-79622, AZL-79634, AZL-79637, AZL-79640, AZL-79643, AZL-79649, AZL-98571, BELL-CVE-2026-27142, BIT-golang-2026-27142, CLEANSTART-2026-EY32574, CLEANSTART-2026-GK03402, CLEANSTART-2026-KF86059, CLEANSTART-2026-MM79132, CLEANSTART-2026-QB50349, CLEANSTART-2026-TB40408, CLEANSTART-2026-UV08915, DEBIAN-CVE-2026-27142, ECHO-5fcf-3821-6358, GHSA-j4j7-vw47-rhfq, GO-2026-4603, MINI-22fx-j37m-f289, MINI-23fm-ghrp-rmw4, MINI-23vg-qr2f-6p78, MINI-247v-qgxq-498c, MINI-24hf-6h69-fm74, MINI-2555-rh3m-jw9g, MINI-269q-3p23-gm85, MINI-26h7-6wwm-w7j6, MINI-27wm-vwx2-5fcc, MINI-28vw-q9mc-g9hf, MINI-293x-r324-23qp, MINI-299m-5gjf-hvp4, MINI-2c4h-56cq-f777, MINI-2g79-9gjj-rjfx, MINI-2grp-vf4q-hp79, MINI-2h25-2w3r-pqp9, MINI-2hx6-hprh-97px, MINI-2jhr-hvg5-p65v, MINI-2p6f-fhxg-x2vf, MINI-2phc-6jw9-rv4f, MINI-2q85-pmp8-99q6, MINI-2rqv-hqmv-g65r, MINI-2vf6-vwvg-vx63, MINI-2x9r-232v-mh5c, MINI-2xpj-q34c-xw7j, MINI-32c6-5whj-2w89, MINI-34fm-4833-p73c, MINI-34hx-qpgc-hr49, MINI-36ff-mgfc-q483, MINI-37j2-qv9h-75h4, MINI-3898-c37q-5c35, MINI-393g-2m37-g5mr, MINI-394f-cfj5-g67m, MINI-39vc-g8f7-cmxc, MINI-39wf-w83g-m9fv, MINI-3c2v-f6p8-c7jm, MINI-3cgp-ch9h-qv5p, MINI-3cxq-p33c-9q55, MINI-3g34-h47p-c8vf, MINI-3hxh-chw2-x74v, MINI-3m5r-ff37-2388, MINI-3m85-7398-pc7g, MINI-3mwv-794c-8q89, MINI-3p6v-m2cc-89g5, MINI-3pc2-gr75-qf35, MINI-3pq4-45f7-3c7v, MINI-3pqh-j7mg-454q, MINI-3q8h-2f6x-jh7h, MINI-3qx5-vc87-cr56, MINI-3rcf-vxg3-hv9j, MINI-3v2f-9mwx-5573, MINI-3v83-g926-2wf7, MINI-3v8g-g6cq-28j2, MINI-3w24-6m79-qqgv, MINI-3w6j-qfvj-v8gq, MINI-3x2r-vc3m-g39h, MINI-439f-gwqc-rvhq, MINI-43qm-mfh8-cqmc, MINI-4423-mf5w-88cp, MINI-4559-47gw-wh4c, MINI-459p-m2q3-7hw3, MINI-45wc-x875-r9wc, MINI-465g-82jx-pmfw, MINI-47x6-p93r-g655, MINI-49r2-w259-v3fc, MINI-4g8m-x3f5-qg42, MINI-4hxv-v97j-426c, MINI-4m66-cjm9-qjm5, MINI-4prm-2rv6-pcv6, MINI-4qc2-w26f-g8w9, MINI-4v63-p5j5-crj8, MINI-4vpv-9q7m-2pxx, MINI-4vvp-777c-96g8, MINI-4x5g-62c9-vfr5, MINI-52h7-wfqp-67rq, MINI-5398-2vvf-8638, MINI-53h6-q5qx-f896, MINI-53j4-r9fj-pcxp, MINI-54cc-h34v-rhvg, MINI-54mv-8jf2-59jh, MINI-54qj-69mj-43xr, MINI-55g4-rq2h-9v54, MINI-55m9-j7pw-m46f, MINI-55qf-p26j-3cp5, MINI-565m-m7c4-4cfj, MINI-5789-737q-w626, MINI-57mg-882x-j6wq, MINI-58r4-w67c-cpqm, MINI-58r5-32cj-4v66, MINI-59gg-82rc-j7gv, MINI-59gr-cjgp-3r25, MINI-5cpq-m94g-9jch, MINI-5cvg-2v7m-c3wf, MINI-5g2x-2899-m8mm, MINI-5gfw-6jfh-7wh9, MINI-5j26-hq9g-j7m5, MINI-5m5x-92c8-fgg4, MINI-5p78-xr8j-mj9m, MINI-5qj7-7gcv-qmj3, MINI-5qp3-x4f7-x9pj, MINI-5v26-9mwm-f9gx, MINI-5v49-92m7-5hrq, MINI-5v5f-6hhg-8jjm, MINI-5w49-p499-6f8w, MINI-5wjx-vp4p-xc54, MINI-5www-96x9-3hgm, MINI-5x27-8pp8-hqmx, MINI-5xg6-qfhm-43jj, MINI-62fj-84w5-rg6j, MINI-62x2-hj2r-c22g, MINI-635r-5f7m-9gv6, MINI-6393-qq49-r3mw, MINI-6396-qv7x-rqfr, MINI-63g8-2q39-cgc2, MINI-64m2-q46f-6g5r, MINI-64p7-77jv-fvvx, MINI-64wp-6w8j-8hpm, MINI-655x-vfg7-5m36, MINI-65gc-9qqf-m46f, MINI-65vq-4wxc-8v5p, MINI-65w4-q2hj-fv5w, MINI-6653-7wmq-jmcm, MINI-679x-g658-cjhj, MINI-67jc-5rwj-369f, MINI-69g2-xpxq-gm78, MINI-6c2q-3456-f6vr, MINI-6ghx-hqfp-h57v, MINI-6grh-mxmf-pgfg, MINI-6hj2-c7p8-c3vp, MINI-6hq5-x3m8-ghfh, MINI-6mwg-5jq2-h359, MINI-6p8g-prv2-pw84, MINI-6pm8-35vj-9cp9, MINI-6ppc-98f6-fgf2, MINI-6q47-33jm-gxch, MINI-6q4h-8p4h-5g5w, MINI-6q66-wxj7-mh44, MINI-6qfx-v43p-wp72, MINI-6rvc-x98v-hw25, MINI-6rx8-32rp-w793, MINI-6vff-7hh3-xm2g, MINI-6x8x-6f87-22v3, MINI-7333-gg7j-h5gx, MINI-738p-2c22-5qhj, MINI-777m-rc85-wm4r, MINI-77r2-h7xg-4w6q, MINI-7837-9hg5-j76m, MINI-785p-p6hp-rvw3, MINI-78r6-r259-cvqp, MINI-797m-x6wm-3v3w, MINI-79h3-h7mh-4hqm, MINI-7cj4-75vc-gf2p, MINI-7frg-v9c8-wwh5, MINI-7g6f-83v6-f7cf, MINI-7g83-9664-mph4, MINI-7gc9-fm43-rcqr, MINI-7gg4-6qpc-6rh9, MINI-7gj5-gqj7-7xvc, MINI-7grg-55x3-q93h, MINI-7hq8-7c93-44h4, MINI-7hxr-rh6p-586w, MINI-7m6q-gprp-46q3, MINI-7mhh-52hg-r826, MINI-7p98-wjf5-983h, MINI-7q2x-vfph-g3pg, MINI-7q7j-hgvq-fpfp, MINI-7qrr-mwmc-hp6w, MINI-7qvh-wxxc-3wfp, MINI-7rfh-fqj4-wm2g, MINI-7vjx-jmxj-x894, MINI-7w93-r3ph-8g9g, MINI-7xwc-9m9w-jm2q, MINI-7xxr-9r95-jg9f, MINI-82q3-p56p-x8q6, MINI-82rm-8ww5-qj4q, MINI-839h-73j4-hgh5, MINI-84vw-wrgq-7959, MINI-84wx-f5r9-wjr9, MINI-858h-w3cr-c4cc, MINI-85q5-38c4-g25c, MINI-89vf-wv9r-p2f2, MINI-8c84-7x55-2mrm, MINI-8f62-3mv2-x2xv, MINI-8jp6-3477-r7vg, MINI-8p74-gwfq-hwqj, MINI-8p83-cxjp-xcqv, MINI-8pj6-p2qr-7rvg, MINI-8r4x-h8fv-w55q, MINI-8rw8-gq4f-qgpc, MINI-8rx9-crg6-v9fh, MINI-8wp5-xr6j-78vw, MINI-8wrh-jrg2-qhvp, MINI-8x3v-3g3v-pxjq, MINI-8x5r-w37q-wjxr, MINI-8x9w-f39w-c32p, MINI-8xqg-fwcj-q578, MINI-94c2-c6v6-72fp, MINI-94jr-w6m6-qf7c, MINI-96jj-m6hj-wmgc, MINI-97xw-5r3w-gpcv, MINI-986c-xh87-8fq5, MINI-98gv-whw8-vp23, MINI-9927-27r3-9j9w, MINI-99qv-68px-2p62, MINI-9cpg-x3gp-5h2p, MINI-9cv5-87rx-vmc8, MINI-9f4h-f2jg-95v7, MINI-9fqx-4h56-w24h, MINI-9gph-qw4v-vf3m, MINI-9mw8-9w4g-q99r, MINI-9pmg-3gp4-fpjv, MINI-9qgq-5r5g-5g75, MINI-9rqg-q8cj-9wx2, MINI-9v44-wfpf-xqh8, MINI-9vfp-p6r3-3qxp, MINI-9wq8-7482-xgwv, MINI-c2qh-h54c-6632, MINI-c3fx-5ffg-wq3h, MINI-c472-c6q3-xhmr, MINI-c49q-f33g-wqf8, MINI-c4j5-ghfc-qgpm, MINI-c54g-w46m-7g5q, MINI-c5ph-6qm2-9cf9, MINI-c7f5-2ccv-7hx4, MINI-c7p7-wpmm-chgx, MINI-c83x-2xjg-72gg, MINI-c928-67rv-cmfc, MINI-c94p-992m-w3c4, MINI-ccrg-6pqw-pwrj, MINI-cf36-rpqf-m7v6, MINI-cf3w-x4m2-g994, MINI-cg7q-qm69-22c4, MINI-cgpx-rgr2-qw67, MINI-cgwg-mfj8-32m2, MINI-ch3h-68vh-v6mj, MINI-ch49-c929-6xj6, MINI-cpf7-j86x-mchr, MINI-cr78-g6jj-cjc4, MINI-crf8-jc88-q2vh, MINI-crjg-72v7-5hv3, MINI-crjx-4pjm-r9r2, MINI-cv4c-77qp-5f3v, MINI-cwgj-qq38-m5m3, MINI-cwhg-87xw-j94c, MINI-cwm7-rm59-phxv, MINI-cwwg-hcrq-v94h, MINI-cx46-c7m8-785j, MINI-f5fh-qpq3-hf48, MINI-f5h3-mrgw-fr3m, MINI-f62p-9c98-pc9m, MINI-f6xc-v862-rj9g, MINI-f785-4xx7-5w5j, MINI-f7gr-3m7v-45q4, MINI-f7wr-759g-6cfv, MINI-f7xj-38wm-wjvq, MINI-f8mf-4qgw-83wv, MINI-f92g-xw7m-q8v3, MINI-f939-6v8w-hhj3, MINI-f94x-gx97-g6vq, MINI-ff3p-h7mq-qcvc, MINI-ff63-g6pf-3prc, MINI-ff9c-98v3-53vp, MINI-ffgg-hm88-87h4, MINI-fg2v-jq2w-w3m6, MINI-fghx-397q-5qcv, MINI-fh52-hjf8-pq94, MINI-fjmg-9hj5-3466, MINI-fjqh-c8fw-c9mf, MINI-fjvg-hjv9-6799, MINI-fpr2-94p5-fg32, MINI-fqvw-hqgw-wp4j, MINI-frf6-r272-98wh, MINI-fvwf-c6g4-g9gh, MINI-fwv3-9wcg-33j3, MINI-fwvw-59mq-94h7, MINI-fwx9-vc67-829x, MINI-fx4r-p2qm-vqvh, MINI-fx76-5qch-9x4g, MINI-g23q-6mmq-7rfw, MINI-g3v7-m6g8-2f3m, MINI-g439-vqvm-55c6, MINI-g4f2-v4m5-6mp7, MINI-g5g4-rv3h-vr9f, MINI-g5h9-rw6r-xx8c, MINI-g5hx-pmmj-2h8f, MINI-g8qr-xmp2-hpv9, MINI-gch9-x2x9-9jqf, MINI-gf9v-r746-p373, MINI-gghq-h9j7-3926, MINI-ggrp-v6wr-q34x, MINI-gj9r-2fgc-hc7m, MINI-gjg2-v86m-rfvv, MINI-gm79-h3mg-c6gg, MINI-gmgf-r83p-x39c, MINI-gq44-9p36-hcxq, MINI-gqpc-697h-qhx5, MINI-gr34-gg4q-8p8r, MINI-gvx6-r99j-ghwx, MINI-gxwx-9499-47mj, MINI-h25w-pr39-7gfh, MINI-h2g7-mmch-m666, MINI-h354-8hw6-3rrr, MINI-h39c-q8cj-vrwc, MINI-h3gm-h7gh-57cf, MINI-h4xx-hgc3-v5f7, MINI-h6mc-jhwf-4w52, MINI-h9cq-8w98-h86v, MINI-hc4m-mgqv-p8j5, MINI-hch7-2wc3-wfjm, MINI-hcr4-vrw8-4q54, MINI-hg64-2p9x-m7h2, MINI-hhhx-85p6-87wc, MINI-hj35-83vq-v7jf, MINI-hp3w-57gx-xpwf, MINI-hpcw-x3cw-738x, MINI-hq4w-pw28-2jfc, MINI-hq5h-phg9-q224, MINI-hqgg-j7rw-24qv, MINI-hqwp-283h-3c38, MINI-hrrj-j9mv-3c8g, MINI-hwfg-6whf-934m, MINI-hxhr-9hw8-mmr6, MINI-hxv2-5pjj-4g44, MINI-j2ww-3wf3-g9v9, MINI-j422-c74v-q8ww, MINI-j43j-hpjf-p27j, MINI-j4rm-58p6-7wvr, MINI-j65v-4qcc-f6p9, MINI-j79v-94f2-hcfv, MINI-j872-mhr5-r7fg, MINI-j8rc-6pr6-mqw2, MINI-j8vg-pr73-cjc3, MINI-j9jp-cm9p-5xpx, MINI-jcjw-mww8-64x6, MINI-jcqq-3qmp-7w6m, MINI-jg7c-2w7g-wq3h, MINI-jgw7-68v2-7vwj, MINI-jgxw-j372-hx8r, MINI-jh4h-q5jg-hvpg, MINI-jjr3-5m76-34rh, MINI-jm77-cg2m-w2xc, MINI-jm8p-28m9-3gmm, MINI-jmv9-q4qq-ff3w, MINI-jmwp-cr36-3rff, MINI-jp45-j8fc-hhgp, MINI-jrgx-54gm-rp56, MINI-jrq5-h3cr-gvm4, MINI-jwjm-9363-jmr9, MINI-jx2j-wwfj-69xc, MINI-jxmg-xvp2-hffr, MINI-m28v-5cgh-6q8h, MINI-m2hf-vfgw-f39v, MINI-m5rx-7pcc-fhp5, MINI-m686-qcxv-9m5g, MINI-m7r4-c6jc-4p44, MINI-m7rj-fjxx-2889, MINI-m828-h3v9-x5rj, MINI-m8r2-7f86-24j8, MINI-m9gr-v8mr-5356, MINI-m9hg-fg77-pfjx, MINI-mc6v-qpph-8cvw, MINI-mc7f-c4qw-qjg9, MINI-mcfx-74gj-jx5j, MINI-mcm7-w6qq-qx56, MINI-mfhj-hvqq-pxpv, MINI-mg39-8rxj-vpj6, MINI-mg66-hm82-2cmw, MINI-mgm4-4r4g-648f, MINI-mhwp-q5j9-472j, MINI-mhwv-42vw-w9qq, MINI-mjcr-vv6x-44g6, MINI-mm5w-r38q-2x5r, MINI-mmj9-hfv8-q5f9, MINI-mq74-4f6r-3rj2, MINI-mr2x-p5m9-q87h, MINI-mr7c-w8vh-vxr5, MINI-mv49-h25c-wjgh, MINI-mv4q-hccv-qmgh, MINI-mvj9-2cc9-6684, MINI-mwmr-7p7h-mqfr, MINI-mwqq-c7x9-78wj, MINI-mx33-hp68-x4hp, MINI-mxf2-x6p5-66jh, MINI-p2cg-jgg2-mh2x, MINI-p2ph-frp5-gxw5, MINI-p4r6-vjrr-5g49, MINI-p553-hq6p-7x9h, MINI-p59c-qgwv-rfcm, MINI-p8fv-cxgf-5r59, MINI-p8pw-pj4h-hpm6, MINI-p924-pq4q-cq2h, MINI-p9j6-5cgw-fx95, MINI-pcg2-9mfp-m7pf, MINI-pchf-hwv5-35w9, MINI-pfpw-9mph-3xf8, MINI-pg4w-qh2x-7m7x, MINI-pg67-576v-q2hm, MINI-pgg7-38hm-8rcw, MINI-pgwv-g3jc-vx34, MINI-pjmj-fhmr-88cp, MINI-pmvh-3f2m-77h4, MINI-ppgw-5g44-6wxj, MINI-pprg-8cv5-q855, MINI-pq5x-23v9-w2h7, MINI-pqfp-39q4-p768, MINI-prjx-j426-m982, MINI-pvhw-5ff2-r953, MINI-pvq7-6hfh-452p, MINI-px4j-87jj-xph6, MINI-pxfh-vwh4-7rfg, MINI-pxvg-q64x-hr7g, MINI-q327-hc97-65c7, MINI-q53w-g3v6-j3fq, MINI-q5gr-r9w9-qvhh, MINI-q5hm-97cg-g6j7, MINI-q65v-x33h-7gpp, MINI-q6j7-w728-67x9, MINI-q86w-vwfm-x8hp, MINI-qc96-7j3h-v52w, MINI-qcvj-7rp3-hp4f, MINI-qgp2-w2g5-x3mg, MINI-qh87-3g6p-jrp6, MINI-qh9f-hjmh-qmv8, MINI-qh9v-69h6-585r, MINI-qhv7-52h3-76qm, MINI-qppc-crcp-g9vf, MINI-qr6r-9x3v-5mgh, MINI-qrp4-f9x4-w2xp, MINI-qvpx-ppr7-mwrq, MINI-qx95-mcm9-x5ww, MINI-r2r5-vjp5-hhmq, MINI-r4j8-mr24-353c, MINI-r5h5-ffph-47rm, MINI-r5wg-748w-66c9, MINI-r6v2-w5xv-6wrg, MINI-r7hw-p87h-jmjr, MINI-r9jj-2q5v-gchh, MINI-r9q7-v44w-7hr8, MINI-rcpw-wgj8-p9p7, MINI-rf49-g84f-97xm, MINI-rg6g-rhg5-w5wx, MINI-rgq3-vm75-w62c, MINI-rhw8-46c5-352f, MINI-rjgf-p45w-vh79, MINI-rp2q-jm5q-c252, MINI-rqxw-mqrm-q9mx, MINI-rv2v-2c84-jq9c, MINI-rv4g-5v54-m77c, MINI-rvc9-chfg-j58w, MINI-rwm6-ppfq-4r93, MINI-v35m-hv5p-98mj, MINI-v5g3-fpr6-5m9m, MINI-v5j7-q8hw-jhwx, MINI-v5qv-83pj-5h46, MINI-v65x-5h4m-847r, MINI-v663-rqw2-c48x, MINI-v76f-9gpv-rmvq, MINI-v975-px36-gcwj, MINI-v9fg-5w52-pc58, MINI-vch6-p5x8-gr6x, MINI-vj7q-p9hh-wwrw, MINI-vp5f-hvhm-g5xm, MINI-vq2w-78wc-7q22, MINI-vqmc-4m7w-gq53, MINI-vwj8-9vhq-g47g, MINI-vwpj-h8vx-47fg, MINI-vwv3-q7qg-ffwx, MINI-vxrx-935c-4vh6, MINI-vxwf-36p9-f89m, MINI-w227-r8mr-p29p, MINI-w2g6-m8mw-9xx9, MINI-w39h-2fxw-p695, MINI-w3m4-7qvp-mq99, MINI-w5vx-3cw2-gjrf, MINI-w62h-vhv9-4c6m, MINI-w66v-g4cj-x76w, MINI-w683-9wgv-hgcj, MINI-wgqr-6952-wh9v, MINI-wgv3-c44x-fv98, MINI-whjq-89jm-4q7v, MINI-whmv-qhhq-vv7m, MINI-whqw-9g55-pp95, MINI-wpmf-gr64-w835, MINI-wpvp-fwp5-h98m, MINI-wq2f-j2xq-687g, MINI-wq78-hqgg-j53w, MINI-wr2j-gv67-hpvj, MINI-wrgm-v4wv-4mrm, MINI-ww28-2qp8-vj9c, MINI-wx6f-rfcf-3x48, MINI-x2jc-4g33-p3x7, MINI-x33f-r3w9-rq9c, MINI-x433-xcfv-mwj8, MINI-x44g-h8h6-q8v4, MINI-x4mc-5wh6-ghhw, MINI-x4vf-6wx7-j9rv, MINI-x562-fwx6-93wx, MINI-x796-3j5x-xpvc, MINI-x7j8-9jqp-jvmw, MINI-x8hr-vp82-hm74, MINI-x8p8-56wp-769r, MINI-x8r2-6r2h-vhf9, MINI-x8r4-8hxv-c98j, MINI-x94j-9jp8-xgjq, MINI-x9cq-8f4f-mq2p, MINI-x9p8-3cc5-2rr4, MINI-xc84-qhm5-pc6j, MINI-xcrq-86vm-w3h7, MINI-xg4m-g3wh-jp8m, MINI-xgph-9895-53fp, MINI-xgwm-8x76-fv4h, MINI-xh2j-jr8h-4qjh, MINI-xhxq-g53v-fr89, MINI-xj55-mx34-jr6m, MINI-xj9m-pww7-g2rv, MINI-xpr9-j594-m375, MINI-xr4c-f367-v5q6, MINI-xrgj-q42q-hppv, MINI-xv83-mm45-7qrc, MINI-xvfv-gqp6-xx3c, MINI-xx69-wfp7-fgqq, MINI-xxhm-c7jr-7c4g, OESA-2026-1850, OESA-2026-1851, RHSA-2026:5192, UBUNTU-CVE-2026-27142

## What is CVE-2026-27142?

CVE-2026-27142 is a medium-severity cross-site scripting vulnerability in Golang Go, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2026-27142?

2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `golang` | Bitnami | All versions | 1.25.8, 1.26.1 |
| `stdlib` | Go | All versions | 1.25.8, 1.26.1 |
| `golang1.25` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-bin` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-docs` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-misc` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-shared` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-src` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |
| `golang1.25-tests` | Red Hat:hummingbird:1 | All versions | 0:1.25.8-1.1.hum1 |

Products: Golang Go.

## How do I fix CVE-2026-27142?

Upgrade golang to a fixed version for your release line: 1.25.8 or 1.26.1.

## Is CVE-2026-27142 being exploited?

There is no known exploitation of CVE-2026-27142 in the wild and no public exploit code.

## Other vulnerabilities in Golang Go

- [CVE-2020-0601](https://insights.sbomify.com/CVE-2020-0601/): Microsoft Windows CryptoAPI Spoofing (high 8.1, exploited in the wild)
- [CVE-2026-27143](https://insights.sbomify.com/CVE-2026-27143/): Missing bound checks can lead to memory corruption in safe Go in cmd/compile (critical 9.8)
- [CVE-2024-24790](https://insights.sbomify.com/CVE-2024-24790/): Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip (critical 9.8)
- [CVE-2023-39320](https://insights.sbomify.com/CVE-2023-39320/): Arbitrary code execution via go.mod toolchain directive in cmd/go (critical 9.8)
- [CVE-2023-24540](https://insights.sbomify.com/CVE-2023-24540/): Improper handling of JavaScript whitespace in html/template (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-27142 and fix it if it is affected.

What it is: CVE-2026-27142 is a medium-severity cross-site scripting vulnerability in Golang Go, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-27142 in the wild and no public exploit code.

Affected packages and fixed versions:
- golang (Bitnami): affected all versions; fixed in 1.25.8, 1.26.1
- stdlib (Go): affected all versions; fixed in 1.25.8, 1.26.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-27142/ (Markdown: https://insights.sbomify.com/CVE-2026-27142/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-27142
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-27142
- OSV: https://osv.dev/vulnerability/CVE-2026-27142

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-27142/
Summaries are generated and may contain mistakes; the official description above is the record.
