{"answers":{"affected":"4 open source packages ship an affected version, including github.com/prometheus/prometheus and prometheus. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-44903 in the wild and no public exploit code.","fix":"Upgrade github.com/prometheus/prometheus to 0.311.3 or later.","what":"CVE-2026-44903 is a medium-severity cross-site scripting vulnerability in prometheus, published on 26 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-44903 and fix it if it is affected.\n\nWhat it is: CVE-2026-44903 is a medium-severity cross-site scripting vulnerability in prometheus, published on 26 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-44903 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/prometheus/prometheus (Go): affected all versions; fixed in 0.311.3\n- github.com/prometheus/prometheus (Go): affected all versions; fixed in 0.311.3\n- github.com/prometheus/prometheus (Go): affected all versions; fixed in 0.311.3\n- prometheus (Bitnami): affected all versions; fixed in 0.305.3, 0.311.3, 3.5.3, 3.11.3\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44903/ (Markdown: https://insights.sbomify.com/CVE-2026-44903/index.md)","id":"CVE-2026-44903","markdown":"https://insights.sbomify.com/CVE-2026-44903/index.md","name":"CVE-2026-44903","record":{"aliases":["BIT-prometheus-2026-44903","CLEANSTART-2026-CD57328","CLEANSTART-2026-DS50998","CLEANSTART-2026-GK28473","CLEANSTART-2026-KD10786","CLEANSTART-2026-PY51486","CLEANSTART-2026-TZ27062","CLEANSTART-2026-YK40300","DEBIAN-CVE-2026-44903","ECHO-5d42-bdf2-d207","GHSA-fw8g-cg8f-9j28","GO-2026-5381","MINI-25rm-wjp3-qgcq","MINI-2fgp-whxh-wh29","MINI-2p3f-pww9-2c7c","MINI-373w-765w-53w2","MINI-39cj-rmjw-xwhx","MINI-39cp-qx94-6gjw","MINI-3cx3-2w2h-2mx6","MINI-3v37-c4q7-p5xf","MINI-45r6-v9cr-rf3g","MINI-4h2m-3gwg-qq76","MINI-4mr2-4w7j-mq7m","MINI-4mr6-wggq-c6xg","MINI-4ppx-7crr-pqx2","MINI-4vcx-3g9h-qwph","MINI-5338-rqx4-27jf","MINI-5799-gr8j-j894","MINI-5cq5-f8h3-v6q3","MINI-5gvr-w2j8-wmxc","MINI-5pfv-33mq-7vgv","MINI-64f9-2cg6-jcg7","MINI-6693-rpx9-3w8f","MINI-67gm-4frh-gmmv","MINI-67jc-m629-pm44","MINI-6g3h-w359-4379","MINI-6pvw-62j2-4vf2","MINI-6xrm-97xq-f9pm","MINI-7242-9qpp-5cp7","MINI-73fm-9ffx-h28c","MINI-79h2-q3m2-p8px","MINI-7j4x-cm87-qv2g","MINI-7qm9-7v7r-w6g8","MINI-7x4c-p574-5gch","MINI-7xf3-73r4-38r7","MINI-887p-mmgq-qcwr","MINI-89hp-3c7x-24p9","MINI-8mq3-x96h-h8vr","MINI-92v9-3vph-39v8","MINI-94m8-g962-6w64","MINI-94rx-2h2c-qhc8","MINI-953g-2hx7-gcg2","MINI-97cm-3x24-hxj6","MINI-9fwh-5rj7-8564","MINI-9h8p-7qwf-mvpg","MINI-9p2x-9vvr-w5c7","MINI-9xr2-228q-8x67","MINI-c337-p65p-96p3","MINI-c4w9-4952-q8px","MINI-cpwh-6p39-325j","MINI-f329-q9w3-h7px","MINI-f59f-gv83-xh38","MINI-f7p2-4pm8-gqp7","MINI-f8h9-7827-3j9w","MINI-f8p6-48hv-93wh","MINI-f8v2-7wj2-537p","MINI-fqg8-rx7w-24q9","MINI-fr6m-pfm6-jxx7","MINI-fxq7-j92r-rm9x","MINI-g87j-fv42-888r","MINI-g9qm-vchh-pm28","MINI-ggh3-cxx7-mpf2","MINI-gjmm-3hfj-h4jj","MINI-gqfq-vjvg-7rcp","MINI-grxf-2r65-xcp2","MINI-gw3r-v73v-c6f8","MINI-h544-m2j5-5363","MINI-hg6x-j2p3-7288","MINI-hhp2-rvgr-88cx","MINI-hhvf-fwpq-9r9g","MINI-hm4v-6c35-vrhh","MINI-hpc7-f9fr-jj7x","MINI-hx45-7824-q7cc","MINI-j47v-gh73-764j","MINI-j7gw-2hmh-qwr4","MINI-jhrr-5935-rvfg","MINI-jr6c-272f-gc7q","MINI-m874-g8h8-p6g8","MINI-m8mh-c79j-376v","MINI-mpc2-6fq2-gwgc","MINI-mpj3-v4c6-qr4v","MINI-mq3x-w2g4-76xr","MINI-mq7r-vm4x-9f55","MINI-mwmm-r7r3-5g23","MINI-p2r4-m42q-9938","MINI-p459-42r5-px62","MINI-p4hw-h8hp-cg7g","MINI-p68j-xgfx-92rw","MINI-p8p4-499v-hx85","MINI-pjwm-434m-wfhg","MINI-pmxq-c4mw-884c","MINI-pv5x-f5mc-4hwc","MINI-q49m-h826-3fhx","MINI-q4r3-cjfr-wgp7","MINI-q582-crrc-fxc9","MINI-q6wm-2crv-v5fj","MINI-q84c-vw8r-2fxh","MINI-qch2-6v23-q4h9","MINI-qf9j-chxm-6297","MINI-qrqh-8fh4-hh6q","MINI-qv35-98wj-6r4g","MINI-r6vj-vmqv-82r8","MINI-r9pw-87xp-6hc7","MINI-r9x2-f872-x527","MINI-rf4v-cjcc-pr9r","MINI-rg7j-xggw-82vq","MINI-rm4c-5hcm-vg5p","MINI-v2xc-c356-wpm4","MINI-vf3j-q8wp-j58g","MINI-vh46-mqww-88jf","MINI-vm2j-cvvq-667c","MINI-vp76-gcr9-hmf9","MINI-vpc7-xpgq-3g9h","MINI-vw5x-cmj2-3c4g","MINI-vxp6-4hxh-32x8","MINI-w245-f5qp-j5ww","MINI-w285-r286-9rxf","MINI-w5jr-mvv2-q57w","MINI-w9q3-q8qp-f7fm","MINI-wqw4-j54j-fxp6","MINI-wvwx-8cgq-q4cp","MINI-x463-jg7c-h9ch","MINI-x5r9-mjx6-gwcm","MINI-x5vm-2crw-m5g6","MINI-x98h-8fx7-r8jv","MINI-xmxw-g37c-6rmc","MINI-xwx3-38jr-5fq9","MINI-xxgv-p846-fp6g","ROOT-APP-GOBINARY-CVE-2026-44903","ROOT-APP-GOBINARY-GHSA-fw8g-cg8f-9j28","UBUNTU-CVE-2026-44903"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Prometheus monitoring server","requires_auth":"low_privilege","summary":"Attackers can execute JavaScript in Prometheus users' browsers via crafted histogram labels in the legacy web UI, requiring the old-ui feature flag.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"prometheus","vendor":"prometheus"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Prometheus is an open-source monitoring system and time series database. From 2.49.0 to before 3.5.3 and 3.11.3, in the Prometheus server's legacy web UI (enabled via the command-line flag --enable-feature=old-ui), the histogram heatmap chart view does not escape le label values when inserting them into the HTML for use as axis tick mark labels. An attacker who can inject crafted metrics can execute JavaScript in the browser of any Prometheus user who views the metric in the heatmap chart UI. This vulnerability is fixed in 3.5.3 and 3.11.3.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI","id":"CVE-2026-44903","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"Vanetza: Remote Denial of Service via Uncaught OER Encoding Exception in Cryptographic Verification","id":"CVE-2026-44905"},"packages":[{"ecosystem":"Bitnami","fixed":["0.305.3","0.311.3","3.5.3","3.11.3"],"introduced":["0","0.306.0","2.49.0","3.6.0"],"last_affected":[],"package":"prometheus","purl":"pkg:bitnami/prometheus","source":"BIT-prometheus-2026-44903"},{"ecosystem":"Go","fixed":["0.311.3"],"introduced":["0"],"last_affected":[],"package":"github.com/prometheus/prometheus","purl":null,"source":"GHSA-fw8g-cg8f-9j28"},{"ecosystem":"Go","fixed":["0.311.3"],"introduced":["0"],"last_affected":[],"package":"github.com/prometheus/prometheus","purl":"pkg:golang/github.com/prometheus/prometheus","source":"GHSA-fw8g-cg8f-9j28"},{"ecosystem":"Go","fixed":["0.311.3"],"introduced":["0"],"last_affected":[],"package":"github.com/prometheus/prometheus","purl":"pkg:golang/github.com/prometheus/prometheus","source":"GO-2026-5381"}],"prev":{"headline":"opentelemetry-js: Prometheus exporter process crash via malformed HTTP request","id":"CVE-2026-44902"},"products":["prometheus"],"published":"2026-05-26","related":[{"cvss_score":7.5,"headline":"Prometheus Azure AD remote write OAuth client secret exposed via config API","id":"CVE-2026-42151","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":7.5,"headline":"Prometheus: remote read endpoint allows denial of service via crafted snappy payload","id":"CVE-2026-42154","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":6.5,"headline":"Arbitrary redirects under /new endpoint","id":"CVE-2021-29622","kev_date_added":null,"published":"2021-05-19"},{"cvss_score":6.1,"headline":"Cross-site scripting in prometheus","id":"CVE-2019-3826","kev_date_added":null,"published":"2019-03-26"},{"cvss_score":5.3,"headline":"Prometheus: Stored XSS via metric names and label values in web UI tooltips and metrics explorer","id":"CVE-2026-40179","kev_date_added":null,"published":"2026-04-15"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["prometheus"]},"summary":"Attackers can execute JavaScript in Prometheus users' browsers via crafted histogram labels in the legacy web UI, requiring the old-ui feature flag.","url":"https://insights.sbomify.com/CVE-2026-44903/"}