{"id":"CVE-2026-112042","kind":"vulnerability","aliases":["CVE-2026-112042"],"related":[],"title":"Diem CMS: dmWidget link tag text lets remote attackers inject scripts","description":"A security flaw has been discovered in diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad. This issue affects the function dmBaseLinkTag::text of the file dmCorePlugin/lib/view/html/link/dmBaseLinkTag.php of the component dmWidget. Performing a manipulation of the argument text results in cross site scripting. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.","summary":"The dmBaseLinkTag::text function in the dmWidget component of diem-project Diem does not sanitise its text argument, so attacker-supplied input is rendered as HTML. A remote attacker can run script in a victim's browser, for example to act as a logged-in user.","severity":"medium","cvss":4.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["diem","package","php","self-hosted"],"not_affected_if":[],"how_to_check":"- unknown","fix":"- unknown","status":"open","published_at":"2026-10-19T03:16:58+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","triaged_at":"2026-10-25T04:42:00+00:00","updated_at":"2026-10-25T04:42:00+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T04:42:00Z","model":"claude-haiku-5-5","output":{"fix":"- unknown","reach":"internet","title":"Diem CMS: dmWidget link tag text lets remote attackers inject scripts","impact":"medium","summary":"The dmBaseLinkTag::text function in the dmWidget component of diem-project Diem does not sanitise its text argument, so attacker-supplied input is rendered as HTML. A remote attacker can run script in a victim's browser, for example to act as a logged-in user.","category":"package","nicknames":[],"who_cares":["diem","php","self-hosted"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Script runs in victims' browsers, sessions and actions can be hijacked.","analyst_note":"Find the upstream fix or a commit after 116974edfb9a5b8bd69cb13586dc62bcdbb485ad, and check whether the project has responded; NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-112042 gives no version range.","how_to_check":"- unknown","needs_analyst":true,"not_affected_if":[],"who_is_affected":"unknown","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000555,"input_tokens":3455,"output_tokens":419,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-112042':14A,17A '-2026':13A,16A '116974edfb9a5b8bd69cb13586dc62bcdbb485ad':86C 'act':66B 'affect':89C,152C 'argument':42B,107C 'attack':9A,45B,54B,120C,135C 'attacker-suppli':44B 'avail':157C 'browser':62B 'cms':2A 'compon':31B,100C 'contini':145C 'cross':111C 'cve':12A,15A 'deliveri':146C 'detail':150C 'diem':1A,18B,34B,36B,81C,83C 'diem-project':33B,80C 'discov':78C 'dmbaselinktag':25B,92C 'dmcoreplugin/lib/view/html/link/dmbaselinktag.php':97C 'dmwidget':3A,30B,101C 'earli':165C 'exampl':64B 'exploit':123C 'file':96C 'flaw':75C 'function':27B,91C 'host':23B 'html':51B 'inform':161C 'initi':118C 'inject':10A 'input':47B 'issu':88C,168C 'let':7A 'link':4A 'log':70B 'logged-in':69B 'manipul':104C 'may':131C 'packag':19B 'perform':102C 'php':20B 'possibl':116C 'problem':164C 'product':137C 'project':35B,82C,159C 'provid':144C 'public':129C 'releas':126C,142C,155C 'remot':8A,53B,121C 'render':49B 'report':169C 'respond':173C 'result':109C 'roll':141C 'run':56B 'sanitis':39B 'script':11A,57B,113C 'secur':74C 'self':22B 'self-host':21B 'site':112C 'suppli':46B 'tag':5A 'text':6A,26B,41B,93C,108C 'therefor':147C 'updat':154C 'use':133C,139C 'user':72B 'version':149C 'victim':60B 'yet':174C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T03:16:58+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cna@vuldb.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112042","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112042","severity":null,"published_at":"2026-10-19T03:16:58+00:00","modified_at":"2026-10-22T03:16:33+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","fetched_at":"2026-10-23T22:28:56+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}