{"items":[{"id":"NVI-00004801","kind":"vulnerability","title":"Leantime has HTML injection through firstname and lastname fields","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qrfh-cc86-vc8c"],"plain_summary":"OSV carries this publisher advisory for leantime/leantime. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.3.0 for leantime/leantime. Confirm the publisher’s latest guidance.","source_ids":["sr-73c16c4c5f63d0fac604fe67b0f9635f"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-73c16c4c5f63d0fac604fe67b0f9635f","url":"https://github.com/advisories/GHSA-qrfh-cc86-vc8c","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-qrfh-cc86-vc8c","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.352Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-73c16c4c5f63d0fac604fe67b0f9635f"],"technology":"leantime/leantime","known_exclusions":[],"conditions_summary":"### Summary\nLeantime v2.3.27 is vulnerable to Stored HTML Injection. The `firstname` and `lastname` fields in the admin user edit page are rendered without  HTML escaping, allowing an authenticated user to inject arbitrary HTML that executes when the profile is viewed.\n\n### Vulnerable File\n`app/Domain/Users/Templates/editUser.tpl.php`\n\n### Vulnerable Code (Lines ~14-17)\n```php\nvalue=\"\"\nvalue=\"\"\n```\nThese fields output raw user input without sanitization.\n\n### Steps to Reproduce\n1. Login as admin > Go to Settings > Users > Edit any user\n2. Enter HTML payload in First Name or Last Name field:\n   `INJECTED`\n3. Save the user profile\n4. Create or view an article — the injected HTML renders in the author name\n\n### Fix\nReplace unescaped `echo` with `htmlspecialchars()`:\n```php\nvalue=\"\"\nvalue=\"\"\n```\nOr use the existing `$this->e()` helper already used in `editOwn.tpl.php`.\n\n### Impact\n- Stored HTML injection visible to all users viewing affected content\n- Can be used for p","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.3.0"]}],"null_published_at":"2026-10-31T22:12:57.143Z","source_updated_at":"2026-03-05T18:16:35.270Z","source_disclosed_at":"2026-03-05T18:05:57.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.352Z"}],"next_cursor":null,"snapshot_revision":"42594"}