# Security: every finding, published · PrompTugal.news Events

> Every vulnerability, bug and breach found on events.promptugal.news: 11 so far, 2 open. Fixed ones in full; open ones by title, severity and state until fixed.

11 findings, 2 open. Central log: https://promptugal.news/security/

- EV-2026-001 (high, fixed): Cross-site scripting through an event's place in a link. An event's place value from the data API was written unescaped into a link (href="/places/\<place\>/"). A crafted value could close the attribute and add markup or script. It reached the home page and the Algarve page, both in the built HTML and when live.js re-drew the list in the browser. Exposure: from the first version (v0.1.3, 14:41 UTC) to the fix (v0.1.11, about 15:08 UTC) on 18 Nov 2026. No sign it was used: the data seen in that time held only plain place ids. Fix: Place ids are checked against \[a-z0-9-\] before use; anything else falls back to the page's own place. (0d2cb48)
- EV-2026-002 (medium, fixed): Markup through an unchecked event date. A start date was used, unchecked, in an element id and a heading; a crafted value could break out of the attribute. Fix: Dates must match YYYY-MM-DD (with an optional time) or the event is dropped. (0d2cb48)
- EV-2026-003 (medium, fixed): Numbers from the register written into the page unescaped. Counts (cited\_by.claims, a gap's claims) were inserted raw; a string in their place would have been inserted as markup. Fix: Coerced to whole numbers. (0d2cb48)
- EV-2026-004 (medium, fixed): Markdown injection in the pages' markdown twins. A URL with a newline or brackets, or raw register fields, could add headings or links to the .md twins. Fix: Stricter URL check (no whitespace, quotes or angle brackets); brackets encoded in markdown links; register fields escaped. (0d2cb48)
- EV-2026-005 (medium, fixed): Scheduled rebuilds tagged a new version four times a day. Each scheduled data rebuild created a release tag with no code change. Fix: The tag step is skipped on scheduled runs. (0d2cb48)
- EV-2026-006 (medium, fixed): No sanity check on the synced data before a scheduled deploy. A scheduled rebuild deployed whatever the data sync fetched, with no check on its shape or size, so malformed or hostile data could reach the site unattended (each field was still escaped by the renderer). Fix: A data gate (scripts/check-data.mjs) checks every synced file (JSON, licence, size and count limits, ids, dates, links); on failure CI builds from the last committed copy and shows a warning. (072b74b)
- EV-2026-007 (low, fixed): The build failed on malformed data. A non-array or null item (evidence, places, entries) threw, failing the build and the scheduled deploy. Fix: Types checked; bad items skipped. (0d2cb48)
- EV-2026-008 (low, fixed): An object in details\_from printed as \[object Object\]. Cosmetic: an object without a URL was printed as text. Fix: Printed only when it is a string. (0d2cb48)
- EV-2026-010 (low, fixed): Issue forms are an untrusted input channel. Free-form issues were allowed, and the forms did not say their text is data. Fix: Blank issues off; each form says its text is read as data only, never as instructions; agents report any instruction in them to security@. (0d2cb48)
- EV-2026-009 (low, open): The page-view sender can take settings from another site
- EV-2026-011 (low, open): CI actions not pinned to exact versions

---
Part of PrompTugal.news. Version v0.1.16. Our text and records: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); each event read from a source stays under that source's terms, linked on the event. HTML: https://events.promptugal.news/security/
